|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AbsoluteDirection>
org.axsl.common.value.AbsoluteDirection
public enum AbsoluteDirection
An enumeration of absolute directions or vectors, that is, directions of movement.
Enum Constant Summary | |
---|---|
BOTTOM_TO_TOP
Constant indicating the "bottom-to-top" direction. |
|
LEFT_TO_RIGHT
Constant indicating the "left-to-right" direction. |
|
RIGHT_TO_LEFT
Constant indicating the "right-to-left" direction. |
|
TOP_TO_BOTTOM
Constant indicating the "top-to-bottom" direction. |
Method Summary | |
---|---|
boolean |
isHorizontal()
Indicates whether this direction is on the horizontal axis. |
boolean |
isVertical()
Indicates whether this direction is on the horizontal axis. |
static AbsoluteDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AbsoluteDirection[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 AbsoluteDirection LEFT_TO_RIGHT
public static final AbsoluteDirection RIGHT_TO_LEFT
public static final AbsoluteDirection TOP_TO_BOTTOM
public static final AbsoluteDirection BOTTOM_TO_TOP
Method Detail |
---|
public static final AbsoluteDirection[] values()
for(AbsoluteDirection c : AbsoluteDirection.values()) System.out.println(c);
public static AbsoluteDirection 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 namepublic boolean isHorizontal()
public boolean isVertical()
|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.