public static enum GGNavigationListener.ScreenOrientation extends java.lang.Enum<GGNavigationListener.ScreenOrientation>
Enum Constant and Description |
---|
FIXED
The screen orientation (either PORTRAIT or LANDSCAPE) at startup is fixed.
|
KILLPROCESS
Process will be killed.
|
LANDSCAPE
Device turned to landscape orientation.
|
PORTRAIT
Device turned to portrait orientation.
|
REPORT
Report only.
|
RESTART
All actors are are removed from the game grid and the main() method
is called again.
|
Modifier and Type | Method and Description |
---|---|
static GGNavigationListener.ScreenOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GGNavigationListener.ScreenOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GGNavigationListener.ScreenOrientation LANDSCAPE
public static final GGNavigationListener.ScreenOrientation PORTRAIT
public static final GGNavigationListener.ScreenOrientation KILLPROCESS
public static final GGNavigationListener.ScreenOrientation FIXED
public static final GGNavigationListener.ScreenOrientation RESTART
public static final GGNavigationListener.ScreenOrientation REPORT
public static GGNavigationListener.ScreenOrientation[] values()
for (GGNavigationListener.ScreenOrientation c : GGNavigationListener.ScreenOrientation.values()) System.out.println(c);
public static GGNavigationListener.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 null