public enum InputEvent extends java.lang.Enum<InputEvent>
Enum Constant and Description |
---|
NULL |
TILT_LEFT |
TILT_NONE |
TILT_RIGHT |
TOUCH_DOWN_LEFT |
TOUCH_DOWN_RIGHT |
TOUCH_UP |
Modifier and Type | Method and Description |
---|---|
static InputEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InputEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputEvent NULL
public static final InputEvent TOUCH_DOWN_LEFT
public static final InputEvent TOUCH_DOWN_RIGHT
public static final InputEvent TOUCH_UP
public static final InputEvent TILT_LEFT
public static final InputEvent TILT_RIGHT
public static final InputEvent TILT_NONE
public static InputEvent[] values()
for (InputEvent c : InputEvent.values()) System.out.println(c);
public static InputEvent 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