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