public static enum InputEvent.EventType extends Enum<InputEvent.EventType>
ON_CHANGE - an event of this type is issued when an input widgets changes state. For example: a check-box that goes from a checked state to an unchecked ON_PRESSED - an event of this type is issued on mouse/touchscreen pressed ON_RELEASE - an event of this type is issued when the mouse/touchscreen is released
Enum Constant and Description |
---|
ON_CHANGE |
ON_PRESSED |
ON_RELEASED |
Modifier and Type | Method and Description |
---|---|
static InputEvent.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputEvent.EventType ON_CHANGE
public static final InputEvent.EventType ON_PRESSED
public static final InputEvent.EventType ON_RELEASED
public static InputEvent.EventType[] values()
for (InputEvent.EventType c : InputEvent.EventType.values()) System.out.println(c);
public static InputEvent.EventType 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 © 2018. All rights reserved.