Package com.grapecity.documents.excel
Enum Class LabelVisibility
- All Implemented Interfaces:
Serializable,Comparable<LabelVisibility>,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 LabelVisibilitygetLabelVisibility(int value) 返回指定整数值对应的标签可见性。intgetValue()static LabelVisibilityReturns the enum constant of this class with the specified name.static LabelVisibility[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
visible
指定始终在填充区域显示水印,而不管单元格值如何,不在单元格区域显示水印。 -
auto
指定当单元格有值时在填充区域显示水印,或者在单元格没有值时在单元格区域显示水印。
-
-
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() -
getLabelVisibility
返回指定整数值对应的标签可见性。- Parameters:
value- 表示标签可见性的整数值。- Returns:
- 与指定值相关联的
LabelVisibility枚举常量,如果没有找到匹配项则返回null。
-