public enum PreserveOpenState extends java.lang.Enum<PreserveOpenState> implements ValueEnum
| Enum Constant and Description | 
|---|
| ALWAYSLike "whenUnique" but automatically preserves openState even if nodes cannot be uniquely identified. | 
| NEVERNever try to automatically preserve the openState. | 
| WHENUNIQUEIf either the  Tree.idFieldorTree.namePropertyhas been set on  the Tree, (so that nodes have
 either unique ids or unique paths),  preserve openState by respecting theTree.openPropertyset 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
Tree.openProperty optionally set by the server.
 
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "never".
public static final PreserveOpenState WHENUNIQUE
Tree.idField or Tree.nameProperty has been set on  the Tree, (so that nodes have
 either unique ids or unique paths),  preserve openState by respecting the Tree.openProperty set by the server,  then applying the
 openState.
 
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "whenUnique".
public static final PreserveOpenState ALWAYS
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "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