Borders
Overview
Borders is a class in Aspose.Cells FOSS for Java.
Represents the border properties for a cell or range in an Excel worksheet.
This class provides 15 methods for working with Borders objects in Java programs.
Available methods include: clone, getBottom, getDiagonal, getDiagonalDown, getDiagonalUp, getLeft, getRight, getTop, setBottom, setDiagonal, setDiagonalDown, setDiagonalUp, and 3 additional methods.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: bottom, diagonal, diagonalDown, diagonalUp, left, right, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
left | Border | Read | Returns the left. |
right | Border | Read | Returns the right. |
top | Border | Read | Returns the top. |
bottom | Border | Read | Returns the bottom. |
diagonal | Border | Read | Returns the diagonal. |
diagonalUp | boolean | Read | Returns the diagonal up. |
diagonalDown | boolean | Read | Returns the diagonal down. |
Methods
| Signature | Description |
|---|---|
getLeft() → Border | Returns the left. |
setLeft(left: Border) | Sets the left. |
getRight() → Border | Returns the right. |
setRight(right: Border) | Sets the right. |
getTop() → Border | Returns the top. |
setTop(top: Border) | Sets the top. |
getBottom() → Border | Returns the bottom. |
setBottom(bottom: Border) | Sets the bottom. |
getDiagonal() → Border | Returns the diagonal. |
setDiagonal(diagonal: Border) | Sets the diagonal. |
getDiagonalUp() → boolean | Returns the diagonal up. |
setDiagonalUp(diagonalUp: boolean) | Sets the diagonal up. |
getDiagonalDown() → boolean | Returns the diagonal down. |
setDiagonalDown(diagonalDown: boolean) | Sets the diagonal down. |
clone() → Borders | Creates a deep clone of this Borders instance. |