- java.lang.Object
-
- java.lang.Enum<VisibilityState>
-
- org.dhatim.fastexcel.VisibilityState
-
- All Implemented Interfaces:
Serializable,Comparable<VisibilityState>
public enum VisibilityState extends Enum<VisibilityState>
This simple type defines the possible states for sheet visibility. This simple type's contents are a restriction of the XML Schema string datatype.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIDDENIndicates the book window is hidden, but can be shown by the user via the user interface.VERY_HIDDENIndicates the sheet is hidden and cannot be shown in the user interface (UI).VISIBLEIndicates the sheet is visible.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static VisibilityStatevalueOf(String name)Returns the enum constant of this type with the specified name.static VisibilityState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HIDDEN
public static final VisibilityState HIDDEN
Indicates the book window is hidden, but can be shown by the user via the user interface.
-
VERY_HIDDEN
public static final VisibilityState VERY_HIDDEN
Indicates the sheet is hidden and cannot be shown in the user interface (UI). This state is only available programmatically.
-
VISIBLE
public static final VisibilityState VISIBLE
Indicates the sheet is visible.
-
-
Method Detail
-
values
public static VisibilityState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VisibilityState c : VisibilityState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VisibilityState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public String getName()
-
-