Package com.grapecity.documents.excel
Enum Class BordersIndex
- All Implemented Interfaces:
Serializable,Comparable<BordersIndex>,Constable
Specifies the border to be retrieved.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies that the border runs from the upper left-hand corner to the lower right of each cell in the range.Specifies that the border runs from the lower left-hand corner to the upper right of each cell in the range.Specifies the border is at the bottom of the range.Specifies that the border is at the left-hand edge of the range.Specifies that the border is at the right-hand edge of the range.Specifies that the border is at the top of the range.Specifies that there are horizontal borders for all cells in the range except borders on the outside of the range.Specifies that there are vertical borders for all the cells in the range except borders on the outside of the range. -
Method Summary
Modifier and TypeMethodDescriptionstatic BordersIndexReturns the enum constant of this class with the specified name.static BordersIndex[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DiagonalDown
Specifies that the border runs from the upper left-hand corner to the lower right of each cell in the range. -
DiagonalUp
Specifies that the border runs from the lower left-hand corner to the upper right of each cell in the range. -
EdgeBottom
Specifies the border is at the bottom of the range. -
EdgeLeft
Specifies that the border is at the left-hand edge of the range. -
EdgeRight
Specifies that the border is at the right-hand edge of the range. -
EdgeTop
Specifies that the border is at the top of the range. -
InsideHorizontal
Specifies that there are horizontal borders for all cells in the range except borders on the outside of the range. -
InsideVertical
Specifies that there are vertical borders for all the cells in the range except borders on the outside of the range.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-