Package com.grapecity.documents.excel
Enum Class CheckBoxAlign
- All Implemented Interfaces:
Serializable,Comparable<CheckBoxAlign>,Constable
指定复选框单元格的文本对齐方式。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic CheckBoxAlignforValue(int value) 获取与指定值相关联的 CheckBoxAlign 枚举常量。intgetValue()获取表示枚举常量的整数值。static CheckBoxAlignReturns the enum constant of this class with the specified name.static CheckBoxAlign[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Top
指定文本位于复选框上方。 -
Bottom
指定文本位于复选框下方。 -
Left
指定文本位于复选框的左侧。 -
Right
指定文本位于复选框的右侧。
-
-
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
-
getValue
public int getValue()获取表示枚举常量的整数值。- Returns:
- 枚举常量的序数值。
-
forValue
获取与指定值相关联的 CheckBoxAlign 枚举常量。- Parameters:
value- 表示 CheckBoxAlign 的整数值。- Returns:
- CheckBoxAlign 枚举常量,如果找不到匹配项则返回 null。
-