Class CellBorder
java.lang.Object
com.independentsoft.office.spreadsheet.styles.CellBorder
The Class CellBorder.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new cell border.CellBorder(InternalXMLStreamReader reader)Instantiates a new cell border. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the bottom.Gets the diagonal.Gets the horizontal.getLeft()Gets the left.getRight()Gets the right.getTop()Gets the top.Gets the vertical.booleanChecks for diagonal down.booleanChecks for diagonal up.booleanChecks for outline.voidSets the bottom.voidsetDiagonal(Border diagonal)Sets the diagonal.voidsetDiagonalDown(boolean hasDiagonalDown)Sets the diagonal down.voidsetDiagonalUp(boolean hasDiagonalUp)Sets the diagonal up.voidsetHorizontal(Border horizontal)Sets the horizontal.voidSets the left.voidsetOutline(boolean hasOutline)Sets the outline.voidSets the right.voidSets the top.voidsetVertical(Border vertical)Sets the vertical.toString()
-
Constructor Details
-
CellBorder
public CellBorder()Instantiates a new cell border. -
CellBorder
Instantiates a new cell border.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getBottom
Gets the bottom.- Returns:
- the bottom
-
setBottom
Sets the bottom.- Parameters:
bottom- the new bottom
-
getDiagonal
Gets the diagonal.- Returns:
- the diagonal
-
setDiagonal
Sets the diagonal.- Parameters:
diagonal- the new diagonal
-
getHorizontal
Gets the horizontal.- Returns:
- the horizontal
-
setHorizontal
Sets the horizontal.- Parameters:
horizontal- the new horizontal
-
getLeft
Gets the left.- Returns:
- the left
-
setLeft
Sets the left.- Parameters:
left- the new left
-
getRight
Gets the right.- Returns:
- the right
-
setRight
Sets the right.- Parameters:
right- the new right
-
getTop
Gets the top.- Returns:
- the top
-
setTop
Sets the top.- Parameters:
top- the new top
-
getVertical
Gets the vertical.- Returns:
- the vertical
-
setVertical
Sets the vertical.- Parameters:
vertical- the new vertical
-
hasDiagonalDown
public boolean hasDiagonalDown()Checks for diagonal down.- Returns:
- true, if successful
-
setDiagonalDown
public void setDiagonalDown(boolean hasDiagonalDown)Sets the diagonal down.- Parameters:
hasDiagonalDown- the new diagonal down
-
hasDiagonalUp
public boolean hasDiagonalUp()Checks for diagonal up.- Returns:
- true, if successful
-
setDiagonalUp
public void setDiagonalUp(boolean hasDiagonalUp)Sets the diagonal up.- Parameters:
hasDiagonalUp- the new diagonal up
-
hasOutline
public boolean hasOutline()Checks for outline.- Returns:
- true, if successful
-
setOutline
public void setOutline(boolean hasOutline)Sets the outline.- Parameters:
hasOutline- the new outline
-