public static enum EventAdapter.Linker extends Enum<EventAdapter.Linker>
| Enum Constant and Description |
|---|
Action
The Action Event linker.
|
Drag
The Drag Event linker.
|
Finished
The Finished Event linker.
|
Key
The Key Event linker.
|
Mouse
The Mouse Event linker.
|
Rotate
The Rotate Event linker.
|
Scroll
The Scroll Event linker.
|
Swipe
The Swipe Event linker.
|
Touch
The Touch Event linker.
|
Window
The Window Event linker.
|
Zoom
The Zoom Event linker.
|
| Modifier and Type | Field and Description |
|---|---|
private Class<? extends EventAdapter> |
adapterClass
The mapped event adapter class.
|
private EventType<?> |
eventType
The JavaFX internal api name.
|
private Class<? extends EventHandler<?>> |
handlerClass
The mapped event handler class.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends EventAdapter> |
adapterClass()
Return Adapter class.
|
EventType<?> |
eventType()
Return Event type.
|
Class<? extends EventHandler<?>> |
handlerClass()
Return Handler class.
|
static EventAdapter.Linker |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventAdapter.Linker[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventAdapter.Linker Action
public static final EventAdapter.Linker Finished
public static final EventAdapter.Linker Mouse
public static final EventAdapter.Linker Key
public static final EventAdapter.Linker Drag
public static final EventAdapter.Linker Rotate
public static final EventAdapter.Linker Scroll
public static final EventAdapter.Linker Swipe
public static final EventAdapter.Linker Touch
public static final EventAdapter.Linker Window
public static final EventAdapter.Linker Zoom
private final EventType<?> eventType
private final Class<? extends EventAdapter> adapterClass
private final Class<? extends EventHandler<?>> handlerClass
public static EventAdapter.Linker[] values()
for (EventAdapter.Linker c : EventAdapter.Linker.values()) System.out.println(c);
public static EventAdapter.Linker 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()
public Class<? extends EventAdapter> adapterClass()
public Class<? extends EventHandler<?>> handlerClass()
Copyright © 2011–2014 JRebirth OSS. All rights reserved.