public enum TreeLayoutTraits extends java.lang.Enum<TreeLayoutTraits> implements NamedEnum
Enum Constant and Description |
---|
Assistant
If the LayoutTraits value associated with a node through this
key is true, the CenterTreeLayout treats this node as an "assistant"
during the arrangement.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets an integer value corresponding to enumeration member.
|
static TreeLayoutTraits |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeLayoutTraits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeLayoutTraits Assistant
public static TreeLayoutTraits[] values()
for (TreeLayoutTraits c : TreeLayoutTraits.values()) System.out.println(c);
public static TreeLayoutTraits 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