org.primefaces.model
Enum TreeNodeEvent
java.lang.Object
java.lang.Enum<TreeNodeEvent>
org.primefaces.model.TreeNodeEvent
- All Implemented Interfaces:
- Serializable, Comparable<TreeNodeEvent>
public enum TreeNodeEvent
- extends Enum<TreeNodeEvent>
Method Summary |
static TreeNodeEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TreeNodeEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
SELECT
public static final TreeNodeEvent SELECT
EXPAND
public static final TreeNodeEvent EXPAND
COLLAPSE
public static final TreeNodeEvent COLLAPSE
values
public static TreeNodeEvent[] 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 (TreeNodeEvent c : TreeNodeEvent.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TreeNodeEvent 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 name
NullPointerException
- if the argument is null
Copyright © 2013. All rights reserved.