public static enum Touch.Event.Kind extends java.lang.Enum<Touch.Event.Kind>
| Modifier and Type | Field and Description |
|---|---|
boolean |
isEnd
Whether this touch kind starts or ends an interaction.
|
boolean |
isStart
Whether this touch kind starts or ends an interaction.
|
| Modifier and Type | Method and Description |
|---|---|
static Touch.Event.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Touch.Event.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Touch.Event.Kind START
public static final Touch.Event.Kind MOVE
public static final Touch.Event.Kind END
public static final Touch.Event.Kind CANCEL
public final boolean isStart
public final boolean isEnd
public static Touch.Event.Kind[] values()
for (Touch.Event.Kind c : Touch.Event.Kind.values()) System.out.println(c);
public static Touch.Event.Kind 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 nullCopyright © 2018. All Rights Reserved.