|
||||||||||
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
Field Summary |
---|
Fields inherited from interface org.apache.poi.ss.usermodel.BorderFormatting |
---|
BORDER_DASH_DOT, BORDER_DASH_DOT_DOT, BORDER_DASHED, BORDER_DOTTED, BORDER_DOUBLE, BORDER_HAIR, BORDER_MEDIUM, BORDER_MEDIUM_DASH_DOT, BORDER_MEDIUM_DASH_DOT_DOT, BORDER_MEDIUM_DASHED, BORDER_NONE, BORDER_SLANTED_DASH_DOT, BORDER_THICK, BORDER_THIN |
Constructor Summary | |
---|---|
protected |
HSSFBorderFormatting(CFRuleRecord cfRuleRecord)
|
Method Summary | |
---|---|
short |
getBorderBottom()
|
short |
getBorderDiagonal()
|
protected BorderFormatting |
getBorderFormattingBlock()
|
short |
getBorderLeft()
|
short |
getBorderRight()
|
short |
getBorderTop()
|
short |
getBottomBorderColor()
|
short |
getDiagonalBorderColor()
|
short |
getLeftBorderColor()
|
short |
getRightBorderColor()
|
short |
getTopBorderColor()
|
boolean |
isBackwardDiagonalOn()
|
boolean |
isForwardDiagonalOn()
|
void |
setBackwardDiagonalOn(boolean on)
|
void |
setBorderBottom(short border)
|
void |
setBorderDiagonal(short border)
Set diagonal border. |
void |
setBorderLeft(short border)
Set left border. |
void |
setBorderRight(short border)
Set right border. |
void |
setBorderTop(short border)
Set top border. |
void |
setBottomBorderColor(short color)
|
void |
setDiagonalBorderColor(short color)
|
void |
setForwardDiagonalOn(boolean on)
|
void |
setLeftBorderColor(short color)
|
void |
setRightBorderColor(short color)
|
void |
setTopBorderColor(short color)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected HSSFBorderFormatting(CFRuleRecord cfRuleRecord)
Method Detail |
---|
protected BorderFormatting getBorderFormattingBlock()
public short getBorderBottom()
getBorderBottom
in interface BorderFormatting
public short getBorderDiagonal()
getBorderDiagonal
in interface BorderFormatting
public short getBorderLeft()
getBorderLeft
in interface BorderFormatting
public short getBorderRight()
getBorderRight
in interface BorderFormatting
public short getBorderTop()
getBorderTop
in interface BorderFormatting
public short getBottomBorderColor()
getBottomBorderColor
in interface BorderFormatting
public short getDiagonalBorderColor()
getDiagonalBorderColor
in interface BorderFormatting
public short getLeftBorderColor()
getLeftBorderColor
in interface BorderFormatting
public short getRightBorderColor()
getRightBorderColor
in interface BorderFormatting
public short getTopBorderColor()
getTopBorderColor
in interface BorderFormatting
public boolean isBackwardDiagonalOn()
public boolean isForwardDiagonalOn()
public void setBackwardDiagonalOn(boolean on)
public void setBorderBottom(short border)
setBorderBottom
in interface BorderFormatting
public void setBorderDiagonal(short border)
BorderFormatting
setBorderDiagonal
in interface BorderFormatting
border
- MUST be a BORDER_* constantpublic void setBorderLeft(short border)
BorderFormatting
setBorderLeft
in interface BorderFormatting
border
- MUST be a BORDER_* constantpublic void setBorderRight(short border)
BorderFormatting
setBorderRight
in interface BorderFormatting
border
- MUST be a BORDER_* constantpublic void setBorderTop(short border)
BorderFormatting
setBorderTop
in interface BorderFormatting
border
- MUST be a BORDER_* constantpublic void setBottomBorderColor(short color)
setBottomBorderColor
in interface BorderFormatting
public void setDiagonalBorderColor(short color)
setDiagonalBorderColor
in interface BorderFormatting
public void setForwardDiagonalOn(boolean on)
public void setLeftBorderColor(short color)
setLeftBorderColor
in interface BorderFormatting
public void setRightBorderColor(short color)
setRightBorderColor
in interface BorderFormatting
public void setTopBorderColor(short color)
setTopBorderColor
in interface BorderFormatting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |