public enum AbsoluteDirection extends java.lang.Enum<AbsoluteDirection>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 are declared.
|
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
public static 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 namejava.lang.NullPointerException
- if the argument is nullpublic boolean isHorizontal()
public boolean isVertical()
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.