public enum TreeNodeState extends Enum<TreeNodeState>
Enum Constant and Description |
---|
collapsed |
expanded |
expandedNoChildren |
leaf |
Modifier and Type | Method and Description |
---|---|
String |
getCustomIconClass() |
String |
getHandleClass() |
String |
getIconClass() |
String |
getNodeClass() |
boolean |
isDifferentThan(TreeNodeState anotherState) |
abstract boolean |
isLeaf() |
static TreeNodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TreeNodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeNodeState expanded
public static final TreeNodeState expandedNoChildren
public static final TreeNodeState collapsed
public static final TreeNodeState leaf
public static TreeNodeState[] values()
for (TreeNodeState c : TreeNodeState.values()) System.out.println(c);
public static TreeNodeState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean isLeaf()
public boolean isDifferentThan(TreeNodeState anotherState)
public String getNodeClass()
public String getHandleClass()
public String getIconClass()
public String getCustomIconClass()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.