public static enum InputEvent.Discriminator extends Enum<InputEvent.Discriminator>
Modifier and Type | Method and Description |
---|---|
static InputEvent.Discriminator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputEvent.Discriminator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputEvent.Discriminator key
public static final InputEvent.Discriminator btn
public static final InputEvent.Discriminator rel
public static final InputEvent.Discriminator abs
public static final InputEvent.Discriminator __NONE
public static InputEvent.Discriminator[] values()
for (InputEvent.Discriminator c : InputEvent.Discriminator.values()) System.out.println(c);
public static InputEvent.Discriminator 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