public class XSSFBorderFormatting extends java.lang.Object implements BorderFormatting
Modifier and Type | Method and Description |
---|---|
BorderStyle |
getBorderBottom() |
BorderStyle |
getBorderBottomEnum() |
BorderStyle |
getBorderDiagonal() |
BorderStyle |
getBorderDiagonalEnum() |
BorderStyle |
getBorderHorizontal()
Only valid for range borders, such as table styles
|
BorderStyle |
getBorderHorizontalEnum()
Only valid for range borders, such as table styles
|
BorderStyle |
getBorderLeft() |
BorderStyle |
getBorderLeftEnum() |
BorderStyle |
getBorderRight() |
BorderStyle |
getBorderRightEnum() |
BorderStyle |
getBorderTop() |
BorderStyle |
getBorderTopEnum() |
BorderStyle |
getBorderVertical()
Only valid for range borders, such as table styles
|
BorderStyle |
getBorderVerticalEnum()
Only valid for range borders, such as table styles
|
short |
getBottomBorderColor() |
XSSFColor |
getBottomBorderColorColor() |
short |
getDiagonalBorderColor() |
XSSFColor |
getDiagonalBorderColorColor() |
short |
getHorizontalBorderColor()
Range internal borders.
|
XSSFColor |
getHorizontalBorderColorColor()
Range internal borders.
|
short |
getLeftBorderColor() |
XSSFColor |
getLeftBorderColorColor() |
short |
getRightBorderColor() |
XSSFColor |
getRightBorderColorColor() |
short |
getTopBorderColor() |
XSSFColor |
getTopBorderColorColor() |
short |
getVerticalBorderColor()
Range internal borders.
|
XSSFColor |
getVerticalBorderColorColor()
Range internal borders.
|
void |
setBorderBottom(BorderStyle border)
Set bottom border.
|
void |
setBorderDiagonal(BorderStyle border)
Set diagonal border.
|
void |
setBorderHorizontal(BorderStyle border)
Set range internal horizontal borders.
|
void |
setBorderLeft(BorderStyle border)
Set left border.
|
void |
setBorderRight(BorderStyle border)
Set right border.
|
void |
setBorderTop(BorderStyle border)
Set top border.
|
void |
setBorderVertical(BorderStyle border)
Set range internal vertical borders.
|
void |
setBottomBorderColor(Color color) |
void |
setBottomBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color) |
void |
setBottomBorderColor(short color) |
void |
setDiagonalBorderColor(Color color) |
void |
setDiagonalBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color) |
void |
setDiagonalBorderColor(short color) |
void |
setHorizontalBorderColor(Color color)
Range internal border color, such as table styles
|
void |
setHorizontalBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color) |
void |
setHorizontalBorderColor(short color)
Range internal border color, such as table styles
|
void |
setLeftBorderColor(Color color) |
void |
setLeftBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color) |
void |
setLeftBorderColor(short color) |
void |
setRightBorderColor(Color color) |
void |
setRightBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color) |
void |
setRightBorderColor(short color) |
void |
setTopBorderColor(Color color) |
void |
setTopBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color) |
void |
setTopBorderColor(short color) |
void |
setVerticalBorderColor(Color color)
Range internal border color, such as table styles
|
void |
setVerticalBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color) |
void |
setVerticalBorderColor(short color)
Range internal border color, such as table styles
|
public BorderStyle getBorderBottom()
getBorderBottom
in interface BorderFormatting
public BorderStyle getBorderDiagonal()
getBorderDiagonal
in interface BorderFormatting
public BorderStyle getBorderLeft()
getBorderLeft
in interface BorderFormatting
public BorderStyle getBorderRight()
getBorderRight
in interface BorderFormatting
public BorderStyle getBorderTopEnum()
getBorderTopEnum
in interface BorderFormatting
public BorderStyle getBorderBottomEnum()
getBorderBottomEnum
in interface BorderFormatting
public BorderStyle getBorderDiagonalEnum()
getBorderDiagonalEnum
in interface BorderFormatting
public BorderStyle getBorderLeftEnum()
getBorderLeftEnum
in interface BorderFormatting
public BorderStyle getBorderRightEnum()
getBorderRightEnum
in interface BorderFormatting
public BorderStyle getBorderTop()
getBorderTop
in interface BorderFormatting
public XSSFColor getBottomBorderColorColor()
getBottomBorderColorColor
in interface BorderFormatting
public short getBottomBorderColor()
getBottomBorderColor
in interface BorderFormatting
public XSSFColor getDiagonalBorderColorColor()
getDiagonalBorderColorColor
in interface BorderFormatting
public short getDiagonalBorderColor()
getDiagonalBorderColor
in interface BorderFormatting
public XSSFColor getLeftBorderColorColor()
getLeftBorderColorColor
in interface BorderFormatting
public short getLeftBorderColor()
getLeftBorderColor
in interface BorderFormatting
public XSSFColor getRightBorderColorColor()
getRightBorderColorColor
in interface BorderFormatting
public short getRightBorderColor()
getRightBorderColor
in interface BorderFormatting
public XSSFColor getTopBorderColorColor()
getTopBorderColorColor
in interface BorderFormatting
public short getTopBorderColor()
getTopBorderColor
in interface BorderFormatting
public void setBorderBottom(BorderStyle border)
BorderFormatting
setBorderBottom
in interface BorderFormatting
border
- The style of border to set.public void setBorderDiagonal(BorderStyle border)
BorderFormatting
setBorderDiagonal
in interface BorderFormatting
border
- The style of border to set.public void setBorderLeft(BorderStyle border)
BorderFormatting
setBorderLeft
in interface BorderFormatting
border
- The style of border to set.public void setBorderRight(BorderStyle border)
BorderFormatting
setBorderRight
in interface BorderFormatting
border
- The style of border to set.public void setBorderTop(BorderStyle border)
BorderFormatting
setBorderTop
in interface BorderFormatting
border
- The style of border to set.public void setBottomBorderColor(Color color)
setBottomBorderColor
in interface BorderFormatting
public void setBottomBorderColor(short color)
setBottomBorderColor
in interface BorderFormatting
public void setBottomBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color)
public void setDiagonalBorderColor(Color color)
setDiagonalBorderColor
in interface BorderFormatting
public void setDiagonalBorderColor(short color)
setDiagonalBorderColor
in interface BorderFormatting
public void setDiagonalBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color)
public void setLeftBorderColor(Color color)
setLeftBorderColor
in interface BorderFormatting
public void setLeftBorderColor(short color)
setLeftBorderColor
in interface BorderFormatting
public void setLeftBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color)
public void setRightBorderColor(Color color)
setRightBorderColor
in interface BorderFormatting
public void setRightBorderColor(short color)
setRightBorderColor
in interface BorderFormatting
public void setRightBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color)
public void setTopBorderColor(Color color)
setTopBorderColor
in interface BorderFormatting
public void setTopBorderColor(short color)
setTopBorderColor
in interface BorderFormatting
public void setTopBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color)
public BorderStyle getBorderVertical()
BorderFormatting
getBorderVertical
in interface BorderFormatting
public BorderStyle getBorderHorizontal()
BorderFormatting
getBorderHorizontal
in interface BorderFormatting
public BorderStyle getBorderVerticalEnum()
BorderFormatting
getBorderVerticalEnum
in interface BorderFormatting
public BorderStyle getBorderHorizontalEnum()
BorderFormatting
getBorderHorizontalEnum
in interface BorderFormatting
public short getVerticalBorderColor()
BorderFormatting
getVerticalBorderColor
in interface BorderFormatting
public XSSFColor getVerticalBorderColorColor()
BorderFormatting
getVerticalBorderColorColor
in interface BorderFormatting
public short getHorizontalBorderColor()
BorderFormatting
getHorizontalBorderColor
in interface BorderFormatting
public XSSFColor getHorizontalBorderColorColor()
BorderFormatting
getHorizontalBorderColorColor
in interface BorderFormatting
public void setBorderHorizontal(BorderStyle border)
BorderFormatting
setBorderHorizontal
in interface BorderFormatting
border
- The style of border to set.public void setBorderVertical(BorderStyle border)
BorderFormatting
setBorderVertical
in interface BorderFormatting
border
- The style of border to set.public void setHorizontalBorderColor(short color)
BorderFormatting
setHorizontalBorderColor
in interface BorderFormatting
color
- indexpublic void setHorizontalBorderColor(Color color)
BorderFormatting
setHorizontalBorderColor
in interface BorderFormatting
color
- indexpublic void setHorizontalBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color)
public void setVerticalBorderColor(short color)
BorderFormatting
setVerticalBorderColor
in interface BorderFormatting
color
- indexpublic void setVerticalBorderColor(Color color)
BorderFormatting
setVerticalBorderColor
in interface BorderFormatting
color
- indexpublic void setVerticalBorderColor(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor color)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.