public enum LayoutOrientation extends Enum<LayoutOrientation>
PartialLayout.getLayoutOrientation()| Enum Constant and Description |
|---|
AUTO_DETECT
Layout orientation specifier where the algorithm automatically detects the layout orientation.
|
BOTTOM_TO_TOP
Layout orientation specifier where the algorithm tries to place partial nodes (subgraph components) such that each
predecessor of a node
v is placed below v and each successor above v. |
LEFT_TO_RIGHT
Layout orientation specifier where the algorithm tries to place partial nodes (subgraph components) such that each
predecessor of a node
v is placed to the left of v and each successor to the right of v. |
NONE
Layout orientation specifier where the layout orientation is completely ignored.
|
RIGHT_TO_LEFT
Layout orientation specifier where the algorithm tries to place partial nodes (subgraph components) such that each
predecessor of a node
v is placed to the right of v and each successor to the left of v. |
TOP_TO_BOTTOM
Layout orientation specifier where the algorithm tries to place partial nodes (subgraph components) such that each
predecessor of a node
v is placed above v and each successor below v. |
| Modifier and Type | Method and Description |
|---|---|
static LayoutOrientation |
fromOrdinal(int ordinal) |
int |
value() |
static LayoutOrientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayoutOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayoutOrientation AUTO_DETECT
The algorithm analyzes the flow direction of fixed edges in the current drawing. If there is no common flow direction,
the results are the same as for NONE. Otherwise, the layout orientation is either TOP_TO_BOTTOM,
BOTTOM_TO_TOP, LEFT_TO_RIGHT or RIGHT_TO_LEFT.
directed edges. For nodes of the same
subgraph component the layout orientation depends on the chosen
core layout algorithm.PartialLayout.setLayoutOrientation(LayoutOrientation)public static final LayoutOrientation BOTTOM_TO_TOP
v is placed below v and each successor above v.directed edges. For nodes of the same
subgraph component the layout orientation depends on the selected
core layout algorithm.PartialLayout.setLayoutOrientation(LayoutOrientation)public static final LayoutOrientation LEFT_TO_RIGHT
v is placed to the left of v and each successor to the right of v.directed edges. For nodes of the same
subgraph component the layout orientation depends on the chosen
core layout algorithm.PartialLayout.setLayoutOrientation(LayoutOrientation)public static final LayoutOrientation NONE
directed edges. For nodes of the same
subgraph component the layout orientation depends on the chosen
core layout algorithm.PartialLayout.setLayoutOrientation(LayoutOrientation)public static final LayoutOrientation RIGHT_TO_LEFT
v is placed to the right of v and each successor to the left of v.directed edges. For nodes of the same
subgraph component the layout orientation depends on the chosen
core layout algorithm.PartialLayout.setLayoutOrientation(LayoutOrientation)public static final LayoutOrientation TOP_TO_BOTTOM
v is placed above v and each successor below v.directed edges. For nodes of the same
subgraph component the layout orientation depends on the selected
core layout algorithm.PartialLayout.setLayoutOrientation(LayoutOrientation)public static final LayoutOrientation fromOrdinal(int ordinal)
public int value()
public static LayoutOrientation 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 LayoutOrientation[] values()
for (LayoutOrientation c : LayoutOrientation.values()) System.out.println(c);