public static enum OrientationHelper.Orientation extends java.lang.Enum<OrientationHelper.Orientation>
Enum Constant and Description |
---|
LANDSCAPE |
PORTRAIT |
REVERSE_LANDSCAPE |
REVERSE_PORTRAIT |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static OrientationHelper.Orientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrientationHelper.Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrientationHelper.Orientation UNKNOWN
public static final OrientationHelper.Orientation PORTRAIT
public static final OrientationHelper.Orientation LANDSCAPE
public static final OrientationHelper.Orientation REVERSE_PORTRAIT
public static final OrientationHelper.Orientation REVERSE_LANDSCAPE
public static OrientationHelper.Orientation[] values()
for (OrientationHelper.Orientation c : OrientationHelper.Orientation.values()) System.out.println(c);
public static OrientationHelper.Orientation 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 null