public enum SubtreeArrangement extends Enum<SubtreeArrangement>
layout orientation, with the edges
connecting in the direction of flow.| Enum Constant and Description |
|---|
HORIZONTAL
A direction specifier for placing the child nodes next to each other in direction of the actual
layout orientation, with the edges
connecting in the direction of flow. |
VERTICAL
A direction specifier for placing the child nodes above each other in direction of the actual
layout orientation, with the edges
connecting orthogonally to the direction of flow. |
| Modifier and Type | Method and Description |
|---|---|
static SubtreeArrangement |
fromOrdinal(int ordinal) |
int |
value() |
static SubtreeArrangement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubtreeArrangement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubtreeArrangement HORIZONTAL
layout orientation, with the edges
connecting in the direction of flow.public static final SubtreeArrangement VERTICAL
layout orientation, with the edges
connecting orthogonally to the direction of flow.public static final SubtreeArrangement fromOrdinal(int ordinal)
public int value()
public static SubtreeArrangement valueOf(String name)
IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullname - the name of the enum constant to be returned.public static SubtreeArrangement[] values()
for (SubtreeArrangement c : SubtreeArrangement.values()) System.out.println(c);