public static enum LayoutParser.ScreenOrientation extends java.lang.Enum<LayoutParser.ScreenOrientation>
Enum Constant and Description |
---|
LANDSCAPE
Defines landscape orientation.
|
PORTRAIT
Defines portrait orientation.
|
UNSPECIFIED
Defines unknown orientation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Return the enumeration value in lowercase lettering.
|
static LayoutParser.ScreenOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LayoutParser.ScreenOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayoutParser.ScreenOrientation PORTRAIT
public static final LayoutParser.ScreenOrientation LANDSCAPE
public static final LayoutParser.ScreenOrientation UNSPECIFIED
public static LayoutParser.ScreenOrientation[] values()
for (LayoutParser.ScreenOrientation c : LayoutParser.ScreenOrientation.values()) System.out.println(c);
public static LayoutParser.ScreenOrientation 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 java.lang.String toString()
toString
in class java.lang.Enum<LayoutParser.ScreenOrientation>