|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TouchEvent.Type>
com.jme3.input.event.TouchEvent.Type
public static enum TouchEvent.Type
Enum Constant Summary | |
---|---|
DOUBLETAP
|
|
DOWN
Touch down event, fields: posX, posY, pressure |
|
FLING
|
|
IDLE
|
|
KEY_DOWN
Virtual keyboard or hardware key event down, fields: keyCode, characters |
|
KEY_UP
Virtual keyboard or hardware key event up, fields: keyCode, characters |
|
LONGPRESSED
|
|
MOVE
Move/Drag event, fields: posX, posY, deltaX, deltaY, pressure |
|
OUTSIDE
|
|
SCALE_END
Two finger scale event end, fields: posX/posY = getFocusX/Y, scaleFactor, scaleSpan |
|
SCALE_MOVE
Two finger scale event, fields: posX/posY = getFocusX/Y, scaleFactor, scaleSpan |
|
SCALE_START
Two finger scale event start, fields: posX/posY = getFocusX/Y, scaleFactor, scaleSpan |
|
SCROLL
Scroll event |
|
SHOWPRESS
The user has performed a down MotionEvent and not performed a move or up yet. |
|
TAP
|
|
UP
Touch up event, fields: posX, posY, pressure |
Method Summary | |
---|---|
static TouchEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TouchEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TouchEvent.Type DOWN
public static final TouchEvent.Type MOVE
public static final TouchEvent.Type UP
public static final TouchEvent.Type KEY_DOWN
public static final TouchEvent.Type KEY_UP
public static final TouchEvent.Type FLING
public static final TouchEvent.Type TAP
public static final TouchEvent.Type DOUBLETAP
public static final TouchEvent.Type LONGPRESSED
public static final TouchEvent.Type SCALE_START
public static final TouchEvent.Type SCALE_MOVE
public static final TouchEvent.Type SCALE_END
public static final TouchEvent.Type SCROLL
public static final TouchEvent.Type SHOWPRESS
public static final TouchEvent.Type OUTSIDE
public static final TouchEvent.Type IDLE
Method Detail |
---|
public static TouchEvent.Type[] values()
for (TouchEvent.Type c : TouchEvent.Type.values()) System.out.println(c);
public static TouchEvent.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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |