|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hssf.usermodel.HSSFBorderFormatting
public final class HSSFBorderFormatting
High level representation for Border Formatting component of Conditional Formatting settings
Constructor Summary | |
---|---|
protected |
HSSFBorderFormatting(CFRuleBase cfRuleRecord,
HSSFWorkbook workbook)
|
Method Summary | |
---|---|
short |
getBorderBottom()
Deprecated. POI 3.15. Use getBorderBottomEnum() .
This method will return an BorderStyle enum in the future. |
BorderStyle |
getBorderBottomEnum()
|
short |
getBorderDiagonal()
Deprecated. POI 3.15. Use getBorderDiagonalEnum() .
This method will return an BorderStyle enum in the future. |
BorderStyle |
getBorderDiagonalEnum()
|
protected BorderFormatting |
getBorderFormattingBlock()
|
BorderStyle |
getBorderHorizontalEnum()
HSSF doesn't support table borders, so always BorderStyle.NONE |
short |
getBorderLeft()
Deprecated. POI 3.15. Use getBorderLeftEnum() .
This method will return an BorderStyle enum in the future. |
BorderStyle |
getBorderLeftEnum()
|
short |
getBorderRight()
Deprecated. POI 3.15. Use getBorderRightEnum() .
This method will return an BorderStyle enum in the future. |
BorderStyle |
getBorderRightEnum()
|
short |
getBorderTop()
Deprecated. POI 3.15. Use getBorderTopEnum() .
This method will return an BorderStyle enum in the future. |
BorderStyle |
getBorderTopEnum()
|
BorderStyle |
getBorderVerticalEnum()
HSSF doesn't support table borders, so always BorderStyle.NONE |
short |
getBottomBorderColor()
|
HSSFColor |
getBottomBorderColorColor()
|
short |
getDiagonalBorderColor()
|
HSSFColor |
getDiagonalBorderColorColor()
|
short |
getHorizontalBorderColor()
HSSF Doesn't support table borders, so always HSSFColor.HSSFColorPredefined.AUTOMATIC |
Color |
getHorizontalBorderColorColor()
HSSF Doesn't support table borders, so always HSSFColor.HSSFColorPredefined.AUTOMATIC |
short |
getLeftBorderColor()
|
HSSFColor |
getLeftBorderColorColor()
|
short |
getRightBorderColor()
|
HSSFColor |
getRightBorderColorColor()
|
short |
getTopBorderColor()
|
HSSFColor |
getTopBorderColorColor()
|
short |
getVerticalBorderColor()
HSSF Doesn't support table borders, so always HSSFColor.HSSFColorPredefined.AUTOMATIC |
Color |
getVerticalBorderColorColor()
HSSF Doesn't support table borders, so always HSSFColor.HSSFColorPredefined.AUTOMATIC |
boolean |
isBackwardDiagonalOn()
|
boolean |
isForwardDiagonalOn()
|
void |
setBackwardDiagonalOn(boolean on)
|
void |
setBorderBottom(BorderStyle border)
Set bottom border. |
void |
setBorderBottom(short border)
Set bottom border. |
void |
setBorderDiagonal(BorderStyle border)
Set diagonal border. |
void |
setBorderDiagonal(short border)
Set diagonal border. |
void |
setBorderHorizontal(BorderStyle border)
Not available for HSSF. |
void |
setBorderLeft(BorderStyle border)
Set left border. |
void |
setBorderLeft(short border)
Set left border. |
void |
setBorderRight(BorderStyle border)
Set right border. |
void |
setBorderRight(short border)
Set right border. |
void |
setBorderTop(BorderStyle border)
Set top border. |
void |
setBorderTop(short border)
Set top border. |
void |
setBorderVertical(BorderStyle border)
Not available for HSSF. |
void |
setBottomBorderColor(Color color)
|
void |
setBottomBorderColor(short color)
|
void |
setDiagonalBorderColor(Color color)
|
void |
setDiagonalBorderColor(short color)
|
void |
setForwardDiagonalOn(boolean on)
|
void |
setHorizontalBorderColor(Color color)
Not available for HSSF. |
void |
setHorizontalBorderColor(short color)
Not available for HSSF. |
void |
setLeftBorderColor(Color color)
|
void |
setLeftBorderColor(short color)
|
void |
setRightBorderColor(Color color)
|
void |
setRightBorderColor(short color)
|
void |
setTopBorderColor(Color color)
|
void |
setTopBorderColor(short color)
|
void |
setVerticalBorderColor(Color color)
Not available for HSSF. |
void |
setVerticalBorderColor(short color)
Not available for HSSF. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected HSSFBorderFormatting(CFRuleBase cfRuleRecord, HSSFWorkbook workbook)
Method Detail |
---|
protected BorderFormatting getBorderFormattingBlock()
public short getBorderBottom()
getBorderBottomEnum()
.
This method will return an BorderStyle enum in the future.
getBorderBottom
in interface BorderFormatting
public BorderStyle getBorderBottomEnum()
getBorderBottomEnum
in interface BorderFormatting
public short getBorderDiagonal()
getBorderDiagonalEnum()
.
This method will return an BorderStyle enum in the future.
getBorderDiagonal
in interface BorderFormatting
public BorderStyle getBorderDiagonalEnum()
getBorderDiagonalEnum
in interface BorderFormatting
public short getBorderLeft()
getBorderLeftEnum()
.
This method will return an BorderStyle enum in the future.
getBorderLeft
in interface BorderFormatting
public BorderStyle getBorderLeftEnum()
getBorderLeftEnum
in interface BorderFormatting
public short getBorderRight()
getBorderRightEnum()
.
This method will return an BorderStyle enum in the future.
getBorderRight
in interface BorderFormatting
public BorderStyle getBorderRightEnum()
getBorderRightEnum
in interface BorderFormatting
public short getBorderTop()
getBorderTopEnum()
.
This method will return an BorderStyle enum in the future.
getBorderTop
in interface BorderFormatting
public BorderStyle getBorderTopEnum()
getBorderTopEnum
in interface BorderFormatting
public short getBottomBorderColor()
getBottomBorderColor
in interface BorderFormatting
public HSSFColor getBottomBorderColorColor()
getBottomBorderColorColor
in interface BorderFormatting
public short getDiagonalBorderColor()
getDiagonalBorderColor
in interface BorderFormatting
public HSSFColor getDiagonalBorderColorColor()
getDiagonalBorderColorColor
in interface BorderFormatting
public short getLeftBorderColor()
getLeftBorderColor
in interface BorderFormatting
public HSSFColor getLeftBorderColorColor()
getLeftBorderColorColor
in interface BorderFormatting
public short getRightBorderColor()
getRightBorderColor
in interface BorderFormatting
public HSSFColor getRightBorderColorColor()
getRightBorderColorColor
in interface BorderFormatting
public short getTopBorderColor()
getTopBorderColor
in interface BorderFormatting
public HSSFColor getTopBorderColorColor()
getTopBorderColorColor
in interface BorderFormatting
public boolean isBackwardDiagonalOn()
public boolean isForwardDiagonalOn()
public void setBackwardDiagonalOn(boolean on)
public void setForwardDiagonalOn(boolean on)
public void setBorderBottom(short border)
BorderFormatting
setBorderBottom
in interface BorderFormatting
border
- MUST be a BORDER_* constantpublic void setBorderBottom(BorderStyle border)
BorderFormatting
setBorderBottom
in interface BorderFormatting
public void setBorderDiagonal(short border)
BorderFormatting
setBorderDiagonal
in interface BorderFormatting
border
- MUST be a BORDER_* constantpublic void setBorderDiagonal(BorderStyle border)
BorderFormatting
setBorderDiagonal
in interface BorderFormatting
public void setBorderLeft(short border)
BorderFormatting
setBorderLeft
in interface BorderFormatting
border
- MUST be a BORDER_* constantpublic void setBorderLeft(BorderStyle border)
BorderFormatting
setBorderLeft
in interface BorderFormatting
public void setBorderRight(short border)
BorderFormatting
setBorderRight
in interface BorderFormatting
border
- MUST be a BORDER_* constantpublic void setBorderRight(BorderStyle border)
BorderFormatting
setBorderRight
in interface BorderFormatting
public void setBorderTop(short border)
BorderFormatting
setBorderTop
in interface BorderFormatting
border
- MUST be a BORDER_* constantpublic void setBorderTop(BorderStyle border)
BorderFormatting
setBorderTop
in interface BorderFormatting
public void setBottomBorderColor(short color)
setBottomBorderColor
in interface BorderFormatting
public void setBottomBorderColor(Color color)
setBottomBorderColor
in interface BorderFormatting
public void setDiagonalBorderColor(short color)
setDiagonalBorderColor
in interface BorderFormatting
public void setDiagonalBorderColor(Color color)
setDiagonalBorderColor
in interface BorderFormatting
public void setLeftBorderColor(short color)
setLeftBorderColor
in interface BorderFormatting
public void setLeftBorderColor(Color color)
setLeftBorderColor
in interface BorderFormatting
public void setRightBorderColor(short color)
setRightBorderColor
in interface BorderFormatting
public void setRightBorderColor(Color color)
setRightBorderColor
in interface BorderFormatting
public void setTopBorderColor(short color)
setTopBorderColor
in interface BorderFormatting
public void setTopBorderColor(Color color)
setTopBorderColor
in interface BorderFormatting
public BorderStyle getBorderVerticalEnum()
BorderStyle.NONE
getBorderVerticalEnum
in interface BorderFormatting
BorderFormatting.getBorderVerticalEnum()
public BorderStyle getBorderHorizontalEnum()
BorderStyle.NONE
getBorderHorizontalEnum
in interface BorderFormatting
BorderFormatting.getBorderHorizontalEnum()
public short getVerticalBorderColor()
HSSFColor.HSSFColorPredefined.AUTOMATIC
getVerticalBorderColor
in interface BorderFormatting
BorderFormatting.getVerticalBorderColor()
public Color getVerticalBorderColorColor()
HSSFColor.HSSFColorPredefined.AUTOMATIC
getVerticalBorderColorColor
in interface BorderFormatting
BorderFormatting.getVerticalBorderColorColor()
public short getHorizontalBorderColor()
HSSFColor.HSSFColorPredefined.AUTOMATIC
getHorizontalBorderColor
in interface BorderFormatting
BorderFormatting.getHorizontalBorderColor()
public Color getHorizontalBorderColorColor()
HSSFColor.HSSFColorPredefined.AUTOMATIC
getHorizontalBorderColorColor
in interface BorderFormatting
BorderFormatting.getHorizontalBorderColorColor()
public void setBorderHorizontal(BorderStyle border)
setBorderHorizontal
in interface BorderFormatting
BorderFormatting.setBorderHorizontal(org.apache.poi.ss.usermodel.BorderStyle)
public void setBorderVertical(BorderStyle border)
setBorderVertical
in interface BorderFormatting
BorderFormatting.setBorderVertical(org.apache.poi.ss.usermodel.BorderStyle)
public void setHorizontalBorderColor(short color)
setHorizontalBorderColor
in interface BorderFormatting
color
- indexBorderFormatting.setHorizontalBorderColor(short)
public void setHorizontalBorderColor(Color color)
setHorizontalBorderColor
in interface BorderFormatting
color
- indexBorderFormatting.setHorizontalBorderColor(org.apache.poi.ss.usermodel.Color)
public void setVerticalBorderColor(short color)
setVerticalBorderColor
in interface BorderFormatting
color
- indexBorderFormatting.setVerticalBorderColor(short)
public void setVerticalBorderColor(Color color)
setVerticalBorderColor
in interface BorderFormatting
color
- indexBorderFormatting.setVerticalBorderColor(org.apache.poi.ss.usermodel.Color)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |