public final class HSSFBorderFormatting extends java.lang.Object implements BorderFormatting
| Modifier | Constructor and Description | 
|---|---|
| protected  | HSSFBorderFormatting(CFRuleBase cfRuleRecord,
                    HSSFWorkbook workbook) | 
protected HSSFBorderFormatting(CFRuleBase cfRuleRecord, HSSFWorkbook workbook)
protected BorderFormatting getBorderFormattingBlock()
public BorderStyle getBorderBottom()
getBorderBottom in interface BorderFormattingpublic BorderStyle getBorderDiagonal()
getBorderDiagonal in interface BorderFormattingpublic BorderStyle getBorderLeft()
getBorderLeft in interface BorderFormattingpublic BorderStyle getBorderRight()
getBorderRight in interface BorderFormattingpublic BorderStyle getBorderTop()
getBorderTop in interface BorderFormattingpublic short getBottomBorderColor()
getBottomBorderColor in interface BorderFormattingpublic HSSFColor getBottomBorderColorColor()
getBottomBorderColorColor in interface BorderFormattingpublic short getDiagonalBorderColor()
getDiagonalBorderColor in interface BorderFormattingpublic HSSFColor getDiagonalBorderColorColor()
getDiagonalBorderColorColor in interface BorderFormattingpublic short getLeftBorderColor()
getLeftBorderColor in interface BorderFormattingpublic HSSFColor getLeftBorderColorColor()
getLeftBorderColorColor in interface BorderFormattingpublic short getRightBorderColor()
getRightBorderColor in interface BorderFormattingpublic HSSFColor getRightBorderColorColor()
getRightBorderColorColor in interface BorderFormattingpublic short getTopBorderColor()
getTopBorderColor in interface BorderFormattingpublic HSSFColor getTopBorderColorColor()
getTopBorderColorColor in interface BorderFormattingpublic boolean isBackwardDiagonalOn()
public boolean isForwardDiagonalOn()
public void setBackwardDiagonalOn(boolean on)
public void setForwardDiagonalOn(boolean on)
public void setBorderBottom(BorderStyle border)
BorderFormattingsetBorderBottom in interface BorderFormattingborder - The style of border to set.public void setBorderDiagonal(BorderStyle border)
BorderFormattingsetBorderDiagonal in interface BorderFormattingborder - The style of border to set.public void setBorderLeft(BorderStyle border)
BorderFormattingsetBorderLeft in interface BorderFormattingborder - The style of border to set.public void setBorderRight(BorderStyle border)
BorderFormattingsetBorderRight in interface BorderFormattingborder - The style of border to set.public void setBorderTop(BorderStyle border)
BorderFormattingsetBorderTop in interface BorderFormattingborder - The style of border to set.public void setBottomBorderColor(short color)
setBottomBorderColor in interface BorderFormattingpublic void setBottomBorderColor(Color color)
setBottomBorderColor in interface BorderFormattingpublic void setDiagonalBorderColor(short color)
setDiagonalBorderColor in interface BorderFormattingpublic void setDiagonalBorderColor(Color color)
setDiagonalBorderColor in interface BorderFormattingpublic void setLeftBorderColor(short color)
setLeftBorderColor in interface BorderFormattingpublic void setLeftBorderColor(Color color)
setLeftBorderColor in interface BorderFormattingpublic void setRightBorderColor(short color)
setRightBorderColor in interface BorderFormattingpublic void setRightBorderColor(Color color)
setRightBorderColor in interface BorderFormattingpublic void setTopBorderColor(short color)
setTopBorderColor in interface BorderFormattingpublic void setTopBorderColor(Color color)
setTopBorderColor in interface BorderFormattingpublic BorderStyle getBorderVertical()
BorderStyle.NONEgetBorderVertical in interface BorderFormattingBorderFormatting.getBorderVertical()public BorderStyle getBorderHorizontal()
BorderStyle.NONEgetBorderHorizontal in interface BorderFormattingBorderFormatting.getBorderHorizontal()public BorderStyle getBorderBottomEnum()
getBorderBottomEnum in interface BorderFormattingpublic BorderStyle getBorderDiagonalEnum()
getBorderDiagonalEnum in interface BorderFormattingpublic BorderStyle getBorderLeftEnum()
getBorderLeftEnum in interface BorderFormattingpublic BorderStyle getBorderRightEnum()
getBorderRightEnum in interface BorderFormattingpublic BorderStyle getBorderTopEnum()
getBorderTopEnum in interface BorderFormatting@Deprecated public BorderStyle getBorderVerticalEnum()
BorderStyle.NONEgetBorderVerticalEnum in interface BorderFormattingBorderFormatting.getBorderVertical()@Deprecated public BorderStyle getBorderHorizontalEnum()
BorderStyle.NONEgetBorderHorizontalEnum in interface BorderFormattingBorderFormatting.getBorderHorizontal()public short getVerticalBorderColor()
HSSFColor.HSSFColorPredefined.AUTOMATICgetVerticalBorderColor in interface BorderFormattingBorderFormatting.getVerticalBorderColor()public Color getVerticalBorderColorColor()
HSSFColor.HSSFColorPredefined.AUTOMATICgetVerticalBorderColorColor in interface BorderFormattingBorderFormatting.getVerticalBorderColorColor()public short getHorizontalBorderColor()
HSSFColor.HSSFColorPredefined.AUTOMATICgetHorizontalBorderColor in interface BorderFormattingBorderFormatting.getHorizontalBorderColor()public Color getHorizontalBorderColorColor()
HSSFColor.HSSFColorPredefined.AUTOMATICgetHorizontalBorderColorColor in interface BorderFormattingBorderFormatting.getHorizontalBorderColorColor()public void setBorderHorizontal(BorderStyle border)
setBorderHorizontal in interface BorderFormattingborder - The style of border to set.BorderFormatting.setBorderHorizontal(org.apache.poi.ss.usermodel.BorderStyle)public void setBorderVertical(BorderStyle border)
setBorderVertical in interface BorderFormattingborder - The style of border to set.BorderFormatting.setBorderVertical(org.apache.poi.ss.usermodel.BorderStyle)public void setHorizontalBorderColor(short color)
setHorizontalBorderColor in interface BorderFormattingcolor - indexBorderFormatting.setHorizontalBorderColor(short)public void setHorizontalBorderColor(Color color)
setHorizontalBorderColor in interface BorderFormattingcolor - indexBorderFormatting.setHorizontalBorderColor(org.apache.poi.ss.usermodel.Color)public void setVerticalBorderColor(short color)
setVerticalBorderColor in interface BorderFormattingcolor - indexBorderFormatting.setVerticalBorderColor(short)public void setVerticalBorderColor(Color color)
setVerticalBorderColor in interface BorderFormattingcolor - indexBorderFormatting.setVerticalBorderColor(org.apache.poi.ss.usermodel.Color)Copyright 2018 The Apache Software Foundation or its licensors, as applicable.