Package com.grapecity.documents.excel
Enum Class Visibility
- All Implemented Interfaces:
Serializable,Comparable<Visibility>,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指定隐藏工作表(用户可以将其设为可见)。指定隐藏对象,这样唯一的使对象再次可见的方法是将此属性设置为True(用户无法使对象可见)。指定显示工作表。 -
Method Summary
Modifier and TypeMethodDescriptionstatic VisibilityforValue(int value) intgetValue()static VisibilityReturns the enum constant of this class with the specified name.static Visibility[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Hidden
指定隐藏工作表(用户可以将其设为可见)。 -
Visible
指定显示工作表。 -
VeryHidden
指定隐藏对象,这样唯一的使对象再次可见的方法是将此属性设置为True(用户无法使对象可见)。
-
-
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
-