public static enum TLcdTouchPoint.State extends Enum<TLcdTouchPoint.State>
Enumeration of the supported states of touch points.
Note that new states may be added in the future.
TLcdTouchPoint.getState()
Enum Constant and Description |
---|
DOWN
Type indicating a new touch point is created.
|
MOVED
Type indicating an existing touch point is moved.
|
STATIONARY
Type indicating the touch point did not change since the previous
TLcdTouchEvent . |
UP
Type indicating an existing touch point is removed.
|
Modifier and Type | Method and Description |
---|---|
static TLcdTouchPoint.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLcdTouchPoint.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLcdTouchPoint.State DOWN
public static final TLcdTouchPoint.State UP
public static final TLcdTouchPoint.State MOVED
public static final TLcdTouchPoint.State STATIONARY
TLcdTouchEvent
.public static TLcdTouchPoint.State[] values()
for (TLcdTouchPoint.State c : TLcdTouchPoint.State.values()) System.out.println(c);
public static TLcdTouchPoint.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 null