Package com.grapecity.documents.excel
Enum Class CellTypeTextAlign
- All Implemented Interfaces:
Serializable,Comparable<CellTypeTextAlign>,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 CellTypeTextAligngetCellTypeTextAlign(int value) 返回复选框/单选列表单元格的文本对齐方式。@param value 表示文本对齐方式的整数值。intgetValue()获取表示枚举常量的整数值。static CellTypeTextAlignReturns the enum constant of this class with the specified name.static CellTypeTextAlign[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Right
指定文本位于复选框/单选列表的右侧。 -
Left
指定文本位于复选框/单选列表的左侧。
-
-
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:
- 枚举常量的序数值。
-
getCellTypeTextAlign
返回复选框/单选列表单元格的文本对齐方式。@param value 表示文本对齐方式的整数值。- Returns:
- 与指定值相关联的
CellTypeTextAlign枚举常量,如果没有找到匹配项则返回null。
-