public enum LayoutOrientation extends Enum<LayoutOrientation>
EdgeLabelOrientationSupport.getOrientedDirection(Direction, LayoutOrientation, MirrorModes),
EdgeLabelOrientationSupport.isOrientationMirrored(LayoutOrientation, MirrorModes),
AbstractPortConstraintOptimizer.getLayoutOrientation(),
MultiStageLayout.getLayoutOrientation(),
OrientationLayout.OrientationLayout(LayoutOrientation),
OrientationLayout.isOrientationMirrored(LayoutOrientation),
OrientationLayout.getOrientation(),
PortCandidate.getDirectionForLayoutOrientation(LayoutOrientation),
PortCandidate.getXOffsetForLayoutOrientation(LayoutOrientation),
PortCandidate.getXOffsetForLayoutOrientation(LayoutOrientation, MirrorModes),
PortCandidate.getYOffsetForLayoutOrientation(LayoutOrientation),
PortCandidate.getYOffsetForLayoutOrientation(LayoutOrientation, MirrorModes),
PortCandidate.toPortConstraintForLayoutOrientation(LayoutOrientation)| Enum Constant and Description |
|---|
BOTTOM_TO_TOP
Orientation specifier which defines that the main layout orientation is from bottom to top.
|
LEFT_TO_RIGHT
Orientation specifier which defines that the main layout orientation is from left to right.
|
RIGHT_TO_LEFT
Orientation specifier which defines that the main layout orientation is from right to left.
|
TOP_TO_BOTTOM
Orientation specifier which defines that the main layout orientation is from top to bottom.
|
| 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 BOTTOM_TO_TOP
public static final LayoutOrientation LEFT_TO_RIGHT
90 degrees counterclockwise.public static final LayoutOrientation RIGHT_TO_LEFT
90 degrees clockwise.public static final LayoutOrientation TOP_TO_BOTTOM
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);