Enum AbstractTree.State
- java.lang.Object
-
- java.lang.Enum<AbstractTree.State>
-
- org.apache.wicket.extensions.markup.html.repeater.tree.AbstractTree.State
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractTree.State>
- Enclosing class:
- AbstractTree<T>
public static enum AbstractTree.State extends Enum<AbstractTree.State>
The state of a node.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractTree.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractTree.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COLLAPSED
public static final AbstractTree.State COLLAPSED
The node is collapsed, i.e. its children are not iterated.
-
EXPANDED
public static final AbstractTree.State EXPANDED
The node is expanded, i.e. its children are iterated.
-
-
Method Detail
-
values
public static AbstractTree.State[] 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 (AbstractTree.State c : AbstractTree.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractTree.State 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
-
-