public static enum InputEvent.Type extends java.lang.Enum<InputEvent.Type>
| Enum Constant and Description |
|---|
enter
The mouse pointer or an active touch have entered (i.e.,
hit) an actor. |
exit
The mouse pointer or an active touch have exited an actor.
|
keyDown
A keyboard key has been pressed.
|
keyTyped
A keyboard key has been pressed and released.
|
keyUp
A keyboard key has been released.
|
mouseMoved
The mouse pointer has moved (without a mouse button being active).
|
scrolled
The mouse scroll wheel has changed.
|
touchDown
A new touch for a pointer on the stage was detected
|
touchDragged
A pointer that is touching the stage has moved.
|
touchUp
A pointer has stopped touching the stage.
|
| Modifier and Type | Method and Description |
|---|---|
static InputEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InputEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputEvent.Type touchDown
public static final InputEvent.Type touchUp
public static final InputEvent.Type touchDragged
public static final InputEvent.Type mouseMoved
public static final InputEvent.Type enter
hit) an actor.public static final InputEvent.Type exit
public static final InputEvent.Type scrolled
public static final InputEvent.Type keyDown
public static final InputEvent.Type keyUp
public static final InputEvent.Type keyTyped
public static InputEvent.Type[] values()
for (InputEvent.Type c : InputEvent.Type.values()) System.out.println(c);
public static InputEvent.Type 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