public static enum OnKey.KeyType extends Enum<OnKey.KeyType> implements EnumEventType
| Enum Constant and Description |
|---|
Any
Any Key Event.
|
Pressed
Key pressed event.
|
Released
Key released event.
|
Typed
Key typed event.
|
| Modifier and Type | Field and Description |
|---|---|
private EventType<?> |
eventType
The JavaFX internal api name.
|
| Modifier and Type | Method and Description |
|---|---|
EventType<?> |
eventType()
Return the javaFX event type.
|
static OnKey.KeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OnKey.KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final OnKey.KeyType Any
public static final OnKey.KeyType Pressed
public static final OnKey.KeyType Released
public static final OnKey.KeyType Typed
private EventType<?> eventType
public static OnKey.KeyType[] values()
for (OnKey.KeyType c : OnKey.KeyType.values()) System.out.println(c);
public static OnKey.KeyType 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 nullpublic EventType<?> eventType()
eventType in interface EnumEventTypeCopyright © 2011–2014 JRebirth OSS. All rights reserved.