public static enum SoTouchEvent.States extends java.lang.Enum<SoTouchEvent.States> implements IntegerValuedEnum
Enum Constant and Description |
---|
DOWN
Down state : The finger is on the screen.
|
MOVE
Move state : The finger is moving on the screen.
|
UNKNOWN
Unknown state.
|
UP
Up state : The finger is off the screen.
|
Modifier and Type | Method and Description |
---|---|
static SoTouchEvent.States |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoTouchEvent.States |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoTouchEvent.States |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoTouchEvent.States[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoTouchEvent.States UNKNOWN
public static final SoTouchEvent.States UP
public static final SoTouchEvent.States DOWN
public static final SoTouchEvent.States MOVE
public static SoTouchEvent.States[] values()
for (SoTouchEvent.States c : SoTouchEvent.States.values()) System.out.println(c);
public static SoTouchEvent.States 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 null@Deprecated public static SoTouchEvent.States fromValue(int val)
valueOf(int)
instead.public static SoTouchEvent.States valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com