public enum Orientation extends Enum<Orientation> implements Serializable
| Enum Constant and Description |
|---|
DO_NOT_ROTATE |
ROTATE_180 |
ROTATE_270 |
ROTATE_90 |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static Orientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Orientation UNDEFINED
public static final Orientation DO_NOT_ROTATE
public static final Orientation ROTATE_180
public static final Orientation ROTATE_90
public static final Orientation ROTATE_270
public static Orientation[] values()
for (Orientation c : Orientation.values()) System.out.println(c);
public static Orientation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All Rights Reserved.