public enum RotationDirection extends java.lang.Enum<RotationDirection>
Rotation Direction, must be the following: CLOCKWISE or ANTI_CLOCKWISE
Enum Constant and Description |
---|
ANTI_CLOCKWISE
anti clockwise rotate
|
CLOCKWISE
clock wise rotate
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static RotationDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RotationDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RotationDirection CLOCKWISE
clock wise rotate
public static final RotationDirection ANTI_CLOCKWISE
anti clockwise rotate
public static RotationDirection[] values()
for (RotationDirection c : RotationDirection.values()) System.out.println(c);
public static RotationDirection 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 int getValue()