Package com.grapecity.documents.excel
Enum Class BordersIndex
- All Implemented Interfaces:
Serializable,Comparable<BordersIndex>,Constable
指定要获取的边框。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription指定边框从范围中每个单元格的左上角延伸到右下角。指定边框从范围中每个单元格的左下角延伸到右上角。指定边框位于范围底部。指定边框位于范围的最左侧边缘。指定边框位于范围右侧边缘。指定边框位于范围顶部。指定范围内所有单元格都有水平边框,但范围外部的边框除外。指定范围内的所有单元格都有垂直边框,但范围外的边框除外。 -
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
指定边框从范围中每个单元格的左上角延伸到右下角。 -
DiagonalUp
指定边框从范围中每个单元格的左下角延伸到右上角。 -
EdgeBottom
指定边框位于范围底部。 -
EdgeLeft
指定边框位于范围的最左侧边缘。 -
EdgeRight
指定边框位于范围右侧边缘。 -
EdgeTop
指定边框位于范围顶部。 -
InsideHorizontal
指定范围内所有单元格都有水平边框,但范围外部的边框除外。 -
InsideVertical
指定范围内的所有单元格都有垂直边框,但范围外的边框除外。
-
-
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
-