public final class HSSFBorderFormatting extends Object implements 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
Modifier | Constructor and Description |
---|---|
protected |
HSSFBorderFormatting(CFRuleRecord cfRuleRecord) |
Modifier and Type | Method and Description |
---|---|
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) |
protected HSSFBorderFormatting(CFRuleRecord cfRuleRecord)
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
Copyright © 2020. All rights reserved.