Package org.apache.poi.xssf.usermodel
Class XSSFBorderFormatting
- java.lang.Object
-
- org.apache.poi.xssf.usermodel.XSSFBorderFormatting
-
- All Implemented Interfaces:
BorderFormatting
public class XSSFBorderFormatting extends java.lang.Object implements BorderFormatting
XSSF high level representation for Border Formatting component of Conditional Formatting settings
-
-
Method Summary
-
-
-
Method Detail
-
getBorderBottom
public BorderStyle getBorderBottom()
- Specified by:
getBorderBottomin interfaceBorderFormatting
-
getBorderDiagonal
public BorderStyle getBorderDiagonal()
- Specified by:
getBorderDiagonalin interfaceBorderFormatting
-
getBorderLeft
public BorderStyle getBorderLeft()
- Specified by:
getBorderLeftin interfaceBorderFormatting
-
getBorderRight
public BorderStyle getBorderRight()
- Specified by:
getBorderRightin interfaceBorderFormatting
-
getBorderTopEnum
public BorderStyle getBorderTopEnum()
- Specified by:
getBorderTopEnumin interfaceBorderFormatting
-
getBorderBottomEnum
public BorderStyle getBorderBottomEnum()
- Specified by:
getBorderBottomEnumin interfaceBorderFormatting
-
getBorderDiagonalEnum
public BorderStyle getBorderDiagonalEnum()
- Specified by:
getBorderDiagonalEnumin interfaceBorderFormatting
-
getBorderLeftEnum
public BorderStyle getBorderLeftEnum()
- Specified by:
getBorderLeftEnumin interfaceBorderFormatting
-
getBorderRightEnum
public BorderStyle getBorderRightEnum()
- Specified by:
getBorderRightEnumin interfaceBorderFormatting
-
getBorderTop
public BorderStyle getBorderTop()
- Specified by:
getBorderTopin interfaceBorderFormatting
-
getBottomBorderColorColor
public XSSFColor getBottomBorderColorColor()
- Specified by:
getBottomBorderColorColorin interfaceBorderFormatting
-
getBottomBorderColor
public short getBottomBorderColor()
- Specified by:
getBottomBorderColorin interfaceBorderFormatting
-
getDiagonalBorderColorColor
public XSSFColor getDiagonalBorderColorColor()
- Specified by:
getDiagonalBorderColorColorin interfaceBorderFormatting
-
getDiagonalBorderColor
public short getDiagonalBorderColor()
- Specified by:
getDiagonalBorderColorin interfaceBorderFormatting
-
getLeftBorderColorColor
public XSSFColor getLeftBorderColorColor()
- Specified by:
getLeftBorderColorColorin interfaceBorderFormatting
-
getLeftBorderColor
public short getLeftBorderColor()
- Specified by:
getLeftBorderColorin interfaceBorderFormatting
-
getRightBorderColorColor
public XSSFColor getRightBorderColorColor()
- Specified by:
getRightBorderColorColorin interfaceBorderFormatting
-
getRightBorderColor
public short getRightBorderColor()
- Specified by:
getRightBorderColorin interfaceBorderFormatting
-
getTopBorderColorColor
public XSSFColor getTopBorderColorColor()
- Specified by:
getTopBorderColorColorin interfaceBorderFormatting
-
getTopBorderColor
public short getTopBorderColor()
- Specified by:
getTopBorderColorin interfaceBorderFormatting
-
setBorderBottom
public void setBorderBottom(BorderStyle border)
Description copied from interface:BorderFormattingSet bottom border.- Specified by:
setBorderBottomin interfaceBorderFormatting- Parameters:
border- The style of border to set.
-
setBorderDiagonal
public void setBorderDiagonal(BorderStyle border)
Description copied from interface:BorderFormattingSet diagonal border.- Specified by:
setBorderDiagonalin interfaceBorderFormatting- Parameters:
border- The style of border to set.
-
setBorderLeft
public void setBorderLeft(BorderStyle border)
Description copied from interface:BorderFormattingSet left border.- Specified by:
setBorderLeftin interfaceBorderFormatting- Parameters:
border- The style of border to set.
-
setBorderRight
public void setBorderRight(BorderStyle border)
Description copied from interface:BorderFormattingSet right border.- Specified by:
setBorderRightin interfaceBorderFormatting- Parameters:
border- The style of border to set.
-
setBorderTop
public void setBorderTop(BorderStyle border)
Description copied from interface:BorderFormattingSet top border.- Specified by:
setBorderTopin interfaceBorderFormatting- Parameters:
border- The style of border to set.
-
setBottomBorderColor
public void setBottomBorderColor(Color color)
- Specified by:
setBottomBorderColorin interfaceBorderFormatting
-
setBottomBorderColor
public void setBottomBorderColor(short color)
- Specified by:
setBottomBorderColorin interfaceBorderFormatting
-
setBottomBorderColor
public void setBottomBorderColor(CTColor color)
-
setDiagonalBorderColor
public void setDiagonalBorderColor(Color color)
- Specified by:
setDiagonalBorderColorin interfaceBorderFormatting
-
setDiagonalBorderColor
public void setDiagonalBorderColor(short color)
- Specified by:
setDiagonalBorderColorin interfaceBorderFormatting
-
setDiagonalBorderColor
public void setDiagonalBorderColor(CTColor color)
-
setLeftBorderColor
public void setLeftBorderColor(Color color)
- Specified by:
setLeftBorderColorin interfaceBorderFormatting
-
setLeftBorderColor
public void setLeftBorderColor(short color)
- Specified by:
setLeftBorderColorin interfaceBorderFormatting
-
setLeftBorderColor
public void setLeftBorderColor(CTColor color)
-
setRightBorderColor
public void setRightBorderColor(Color color)
- Specified by:
setRightBorderColorin interfaceBorderFormatting
-
setRightBorderColor
public void setRightBorderColor(short color)
- Specified by:
setRightBorderColorin interfaceBorderFormatting
-
setRightBorderColor
public void setRightBorderColor(CTColor color)
-
setTopBorderColor
public void setTopBorderColor(Color color)
- Specified by:
setTopBorderColorin interfaceBorderFormatting
-
setTopBorderColor
public void setTopBorderColor(short color)
- Specified by:
setTopBorderColorin interfaceBorderFormatting
-
setTopBorderColor
public void setTopBorderColor(CTColor color)
-
getBorderVertical
public BorderStyle getBorderVertical()
Description copied from interface:BorderFormattingOnly valid for range borders, such as table styles- Specified by:
getBorderVerticalin interfaceBorderFormatting- Returns:
- border style
-
getBorderHorizontal
public BorderStyle getBorderHorizontal()
Description copied from interface:BorderFormattingOnly valid for range borders, such as table styles- Specified by:
getBorderHorizontalin interfaceBorderFormatting- Returns:
- border style
-
getBorderVerticalEnum
public BorderStyle getBorderVerticalEnum()
Description copied from interface:BorderFormattingOnly valid for range borders, such as table styles- Specified by:
getBorderVerticalEnumin interfaceBorderFormatting- Returns:
- border style
-
getBorderHorizontalEnum
public BorderStyle getBorderHorizontalEnum()
Description copied from interface:BorderFormattingOnly valid for range borders, such as table styles- Specified by:
getBorderHorizontalEnumin interfaceBorderFormatting- Returns:
- border style
-
getVerticalBorderColor
public short getVerticalBorderColor()
Description copied from interface:BorderFormattingRange internal borders. Only relevant for range styles, such as table formatting- Specified by:
getVerticalBorderColorin interfaceBorderFormatting- Returns:
- color index
-
getVerticalBorderColorColor
public XSSFColor getVerticalBorderColorColor()
Description copied from interface:BorderFormattingRange internal borders. Only relevant for range styles, such as table formatting- Specified by:
getVerticalBorderColorColorin interfaceBorderFormatting- Returns:
- color
-
getHorizontalBorderColor
public short getHorizontalBorderColor()
Description copied from interface:BorderFormattingRange internal borders. Only relevant for range styles, such as table formatting- Specified by:
getHorizontalBorderColorin interfaceBorderFormatting- Returns:
- color index
-
getHorizontalBorderColorColor
public XSSFColor getHorizontalBorderColorColor()
Description copied from interface:BorderFormattingRange internal borders. Only relevant for range styles, such as table formatting- Specified by:
getHorizontalBorderColorColorin interfaceBorderFormatting- Returns:
- color
-
setBorderHorizontal
public void setBorderHorizontal(BorderStyle border)
Description copied from interface:BorderFormattingSet range internal horizontal borders.- Specified by:
setBorderHorizontalin interfaceBorderFormatting- Parameters:
border- The style of border to set.
-
setBorderVertical
public void setBorderVertical(BorderStyle border)
Description copied from interface:BorderFormattingSet range internal vertical borders.- Specified by:
setBorderVerticalin interfaceBorderFormatting- Parameters:
border- The style of border to set.
-
setHorizontalBorderColor
public void setHorizontalBorderColor(short color)
Description copied from interface:BorderFormattingRange internal border color, such as table styles- Specified by:
setHorizontalBorderColorin interfaceBorderFormatting- Parameters:
color- index
-
setHorizontalBorderColor
public void setHorizontalBorderColor(Color color)
Description copied from interface:BorderFormattingRange internal border color, such as table styles- Specified by:
setHorizontalBorderColorin interfaceBorderFormatting- Parameters:
color- index
-
setHorizontalBorderColor
public void setHorizontalBorderColor(CTColor color)
-
setVerticalBorderColor
public void setVerticalBorderColor(short color)
Description copied from interface:BorderFormattingRange internal border color, such as table styles- Specified by:
setVerticalBorderColorin interfaceBorderFormatting- Parameters:
color- index
-
setVerticalBorderColor
public void setVerticalBorderColor(Color color)
Description copied from interface:BorderFormattingRange internal border color, such as table styles- Specified by:
setVerticalBorderColorin interfaceBorderFormatting- Parameters:
color- index
-
setVerticalBorderColor
public void setVerticalBorderColor(CTColor color)
-
-