public enum ExpandCollapseState extends java.lang.Enum<ExpandCollapseState> implements INativeEnum
| Enum Constant and Description |
|---|
Collapsed
No children are visible.
|
Expanded
All children are visible.
|
LeafNode
The element does not expand or collapse.
|
PartiallyExpanded
Some, but not all, children are visible.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<ExpandCollapseState> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static ExpandCollapseState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExpandCollapseState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpandCollapseState Collapsed
public static final ExpandCollapseState Expanded
public static final ExpandCollapseState PartiallyExpanded
public static final ExpandCollapseState LeafNode
public static ExpandCollapseState[] values()
for (ExpandCollapseState c : ExpandCollapseState.values()) System.out.println(c);
public static ExpandCollapseState 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 nullpublic int getNativeValue()
getNativeValue in interface INativeEnumpublic java.lang.String getConstantName()
getConstantName in interface INativeEnumpublic static java.util.Optional<ExpandCollapseState> fromNativeValue(int nativeValue)