Package com.grapecity.documents.excel
Enum Class IconPosition
- All Implemented Interfaces:
Serializable,Comparable<IconPosition>,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 IconPositionforValue(int value) intgetValue()static IconPositionReturns the enum constant of this class with the specified name.static IconPosition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Left
表示图标在单元格左侧。 -
Right
表示图标在单元格右侧。 -
LeftOfText
表示图标在单元格文本左侧。 -
RightOfText
表示图标在单元格文本右侧。 -
OutsideLeft
表示图标在单元格左侧外部。 -
OutsideRight
表示图标在单元格右侧外部。
-
-
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() -
forValue
-