public static enum TouchPoint.State extends Enum<TouchPoint.State>
Enum Constant and Description |
---|
MOVED
The touch point has been moved
|
PRESSED
The touch point has just been pressed (touched for the first time)
|
RELEASED
The touch point has been released
|
STATIONARY
The touch point remains pressed and still (without moving)
|
Modifier and Type | Method and Description |
---|---|
static TouchPoint.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TouchPoint.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TouchPoint.State PRESSED
public static final TouchPoint.State MOVED
public static final TouchPoint.State STATIONARY
public static final TouchPoint.State RELEASED
public static TouchPoint.State[] values()
for (TouchPoint.State c : TouchPoint.State.values()) System.out.println(c);
public static TouchPoint.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.