public enum ChildPlacement extends Enum<ChildPlacement>
DefaultNodePlacer.DefaultNodePlacer(ChildPlacement, double, double)
,
DefaultNodePlacer.DefaultNodePlacer(ChildPlacement, RootAlignment, double, double)
,
DefaultNodePlacer.DefaultNodePlacer(ChildPlacement, RootAlignment, RoutingStyle, double, double)
,
DefaultNodePlacer.DefaultNodePlacer(ChildPlacement, RootAlignment, RoutingStyle, double, double, double, double, double, double)
,
DefaultNodePlacer.getChildPlacement()
Enum Constant and Description |
---|
HORIZONTAL_DOWNWARD
Placement specifier which defines that subtrees are placed horizontally next to each other and below the root node.
|
HORIZONTAL_UPWARD
Placement specifier which defines that subtrees are placed horizontally next to each other and above the root node.
|
VERTICAL_TO_LEFT
Placement specifier which defines that subtrees are placed one below the other and left of the root node.
|
VERTICAL_TO_RIGHT
Placement specifier which defines that subtrees are placed one below the other and right of the root node.
|
Modifier and Type | Method and Description |
---|---|
static ChildPlacement |
fromOrdinal(int ordinal) |
int |
value() |
static ChildPlacement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChildPlacement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChildPlacement HORIZONTAL_DOWNWARD
public static final ChildPlacement HORIZONTAL_UPWARD
public static final ChildPlacement VERTICAL_TO_LEFT
public static final ChildPlacement VERTICAL_TO_RIGHT
public static final ChildPlacement fromOrdinal(int ordinal)
public int value()
public static ChildPlacement 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 ChildPlacement[] values()
for (ChildPlacement c : ChildPlacement.values()) System.out.println(c);