Package arc.scene.event
Enum Class InputEvent.InputEventType
- All Implemented Interfaces:
Serializable
,Comparable<InputEvent.InputEventType>
,Constable
- Enclosing class:
- InputEvent
Types of low-level input events supported by scene2d.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe mouse pointer or an active touch have entered (i.e.,hit
) an actor.The mouse pointer or an active touch have exited an actor.A keyboard key has been pressed.A keyboard key has been pressed and released.A keyboard key has been released.The mouse pointer has moved (without a mouse button being active).The mouse scroll wheel has changed.A new touch for a pointer on the stage was detectedA pointer that is touching the stage has moved.A pointer has stopped touching the stage. -
Method Summary
Modifier and TypeMethodDescriptionstatic InputEvent.InputEventType
Returns the enum constant of this class with the specified name.static InputEvent.InputEventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
touchDown
A new touch for a pointer on the stage was detected -
touchUp
A pointer has stopped touching the stage. -
touchDragged
A pointer that is touching the stage has moved. -
mouseMoved
The mouse pointer has moved (without a mouse button being active). -
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. -
scrolled
The mouse scroll wheel has changed. -
keyDown
A keyboard key has been pressed. -
keyUp
A keyboard key has been released. -
keyTyped
A keyboard key has been pressed and released.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-