public static enum ScreenOrientation.OrientationType extends Enum<ScreenOrientation.OrientationType>
| Enum Constant and Description |
|---|
landscape_primary |
landscape_secondary |
portrait_primary |
portrait_secondary |
| Modifier and Type | Method and Description |
|---|---|
static ScreenOrientation.OrientationType |
fromString(String str) |
String |
toString() |
static ScreenOrientation.OrientationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScreenOrientation.OrientationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScreenOrientation.OrientationType portrait_primary
public static final ScreenOrientation.OrientationType portrait_secondary
public static final ScreenOrientation.OrientationType landscape_primary
public static final ScreenOrientation.OrientationType landscape_secondary
public static ScreenOrientation.OrientationType[] values()
for (ScreenOrientation.OrientationType c : ScreenOrientation.OrientationType.values()) System.out.println(c);
public static ScreenOrientation.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 nullpublic String toString()
toString in class Enum<ScreenOrientation.OrientationType>public static ScreenOrientation.OrientationType fromString(String str)
Copyright © 2020 XDEV Software Corp.. All rights reserved.