public static enum OrientationEvent.OrientationType extends Enum<OrientationEvent.OrientationType>
Enum Constant and Description |
---|
LANDSCAPE |
PORTRAIT |
REVERSE_LANDSCAPE |
REVERSE_PORTRAIT |
UNKOWN |
Modifier and Type | Method and Description |
---|---|
static OrientationEvent.OrientationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrientationEvent.OrientationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrientationEvent.OrientationType UNKOWN
public static final OrientationEvent.OrientationType PORTRAIT
public static final OrientationEvent.OrientationType LANDSCAPE
public static final OrientationEvent.OrientationType REVERSE_PORTRAIT
public static final OrientationEvent.OrientationType REVERSE_LANDSCAPE
public static OrientationEvent.OrientationType[] values()
for (OrientationEvent.OrientationType c : OrientationEvent.OrientationType.values()) System.out.println(c);
public static OrientationEvent.OrientationType 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 © 2016 mattjlewis. All rights reserved.