|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<FlowOrientation>
com.guiseframework.component.layout.FlowOrientation
public enum FlowOrientation
The orientation of a particular flow; its axis and direction.
| Enum Constant Summary | |
|---|---|
BOTTOM_TO_TOP
Flow.Direction.DECREASING flow on the Axis.Y axis. |
|
LEFT_TO_RIGHT
Flow.Direction.INCREASING flow on the Axis.X axis. |
|
RIGHT_TO_LEFT
Flow.Direction.DECREASING flow on the Axis.X axis. |
|
TOP_TO_BOTTOM
Flow.Direction.INCREASING flow on the Axis.Y axis. |
|
| Method Summary | |
|---|---|
Axis |
getAxis()
|
CompassPoint |
getCompassPoint(Flow.End end)
Retrieves a cardinal compass point indicating the absolute direction based upon the given flow end. |
Flow.Direction |
getDirection()
|
java.net.URI |
getGlyph()
|
static FlowOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FlowOrientation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FlowOrientation LEFT_TO_RIGHT
Flow.Direction.INCREASING flow on the Axis.X axis.
public static final FlowOrientation RIGHT_TO_LEFT
Flow.Direction.DECREASING flow on the Axis.X axis.
public static final FlowOrientation TOP_TO_BOTTOM
Flow.Direction.INCREASING flow on the Axis.Y axis.
public static final FlowOrientation BOTTOM_TO_TOP
Flow.Direction.DECREASING flow on the Axis.Y axis.
| Method Detail |
|---|
public static FlowOrientation[] values()
for (FlowOrientation c : FlowOrientation.values()) System.out.println(c);
public static FlowOrientation 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 name
java.lang.NullPointerException - if the argument is nullpublic java.net.URI getGlyph()
public Axis getAxis()
public Flow.Direction getDirection()
public CompassPoint getCompassPoint(Flow.End end)
end - The end of the flow.
java.lang.NullPointerException - if the given end is null.CompassPoint.NORTH,
CompassPoint.EAST,
CompassPoint.SOUTH,
CompassPoint.WEST
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||