Spec-Zone .ru
спецификации, руководства, описания, API
|
public static enum TouchPoint.State extends java.lang.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(java.lang.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(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 (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to