public enum TreeLayoutBalance extends java.lang.Enum<TreeLayoutBalance>
| Enum Constant and Description |
|---|
Custom
Indicates that the child order will be determined by a
user-provided function.
|
LeftHeavy
Indicates that the child nodes with most total children
will be processed first, thus producing a left-heavy layout.
|
Original
Indicates that the child order should not be changed.
|
Reversed
Indicates that the child order should be reversed.
|
RightHeavy
Indicates that the child nodes with least total children
will be processed first, thus producing a right-heavy layout.
|
| Modifier and Type | Method and Description |
|---|---|
static TreeLayoutBalance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeLayoutBalance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeLayoutBalance Original
public static final TreeLayoutBalance Reversed
public static final TreeLayoutBalance LeftHeavy
public static final TreeLayoutBalance RightHeavy
public static final TreeLayoutBalance Custom
public static TreeLayoutBalance[] values()
for (TreeLayoutBalance c : TreeLayoutBalance.values()) System.out.println(c);
public static TreeLayoutBalance 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