hmi.bml.core
Enum OffsetDirection
java.lang.Object
java.lang.Enum<OffsetDirection>
hmi.bml.core.OffsetDirection
- All Implemented Interfaces:
- Serializable, Comparable<OffsetDirection>
public enum OffsetDirection
- extends Enum<OffsetDirection>
|
Method Summary |
static OffsetDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OffsetDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
NONE
public static final OffsetDirection NONE
RIGHT
public static final OffsetDirection RIGHT
LEFT
public static final OffsetDirection LEFT
UP
public static final OffsetDirection UP
DOWN
public static final OffsetDirection DOWN
UPRIGHT
public static final OffsetDirection UPRIGHT
UPLEFT
public static final OffsetDirection UPLEFT
DOWNLEFT
public static final OffsetDirection DOWNLEFT
DOWNRIGHT
public static final OffsetDirection DOWNRIGHT
POLAR
public static final OffsetDirection POLAR
values
public static OffsetDirection[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (OffsetDirection c : OffsetDirection.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OffsetDirection valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null