public enum TouchContactState extends java.lang.Enum<TouchContactState>
Enum Constant and Description |
---|
ContactStateMask |
InContact
Whether the touch is really touching the device.
|
InRange
Whether the touch is close enough to the device to be detected.
|
None
The touch has finished.
|
Modifier and Type | Method and Description |
---|---|
static TouchContactState |
fromValue(long v) |
static TouchContactState |
fromValue(java.lang.String v) |
int |
value() |
static TouchContactState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TouchContactState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TouchContactState None
public static final TouchContactState InContact
public static final TouchContactState InRange
public static final TouchContactState ContactStateMask
public static TouchContactState[] values()
for (TouchContactState c : TouchContactState.values()) System.out.println(c);
public static TouchContactState 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 nullpublic int value()
public static TouchContactState fromValue(long v)
public static TouchContactState fromValue(java.lang.String v)