public enum PreserveOpenState extends java.lang.Enum<PreserveOpenState> implements ValueEnum
Enum Constant and Description |
---|
ALWAYS
Like "whenUnique" but automatically preserves openState even if nodes cannot be uniquely identified.
|
NEVER
Never try to automatically preserve the openState.
|
WHENUNIQUE
If either the
idProperty or nameProperty has been set on the Tree, (so that nodes have
either unique ids or unique paths), preserve openState by respecting the openProperty set by the server, then
applying the openState. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static PreserveOpenState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PreserveOpenState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreserveOpenState NEVER
public static final PreserveOpenState WHENUNIQUE
idProperty
or nameProperty
has been set on the Tree, (so that nodes have
either unique ids or unique paths), preserve openState by respecting the openProperty set by the server, then
applying the openState.public static final PreserveOpenState ALWAYS
public static PreserveOpenState[] values()
for (PreserveOpenState c : PreserveOpenState.values()) System.out.println(c);
public static PreserveOpenState 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 null