public enum SheetVisibility extends java.lang.Enum<SheetVisibility>
Enum Constant and Description |
---|
HIDDEN
Indicates the book window is hidden, but can be shown by the user via the user interface.
|
VERY_HIDDEN
Indicates the sheet is hidden and cannot be shown in the user interface (UI).
|
VISIBLE
Indicates the sheet is visible.
|
Modifier and Type | Method and Description |
---|---|
static SheetVisibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SheetVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SheetVisibility VISIBLE
public static final SheetVisibility HIDDEN
public static final SheetVisibility VERY_HIDDEN
In Excel this state is only available programmatically in VBA:
ThisWorkbook.Sheets("MySheetName").Visible = xlSheetVeryHidden
public static SheetVisibility[] values()
for (SheetVisibility c : SheetVisibility.values()) System.out.println(c);
public static SheetVisibility valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright 2021 The Apache Software Foundation or its licensors, as applicable.