public static enum KeyTrigger.Type extends Enum<KeyTrigger.Type>
| Enum Constant and Description |
|---|
ALL |
DOWN |
PRESS |
UP |
UP_OR_DOWN |
| Modifier and Type | Method and Description |
|---|---|
static KeyTrigger.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyTrigger.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyTrigger.Type PRESS
public static final KeyTrigger.Type UP
public static final KeyTrigger.Type DOWN
public static final KeyTrigger.Type UP_OR_DOWN
public static final KeyTrigger.Type ALL
public static KeyTrigger.Type[] values()
for (KeyTrigger.Type c : KeyTrigger.Type.values()) System.out.println(c);
public static KeyTrigger.Type 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 © 2014. All rights reserved.