-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.jfx.events.generic.EventDispatcher
public abstract class KeyboardEventDispatcher extends PersistentEventDispatcher<KeyboardTriggerAction, KeyEvent>
An event dispatcher in the context of a keyboard.
-
-
Field Summary
Fields Modifier and Type Field Description private final KeyboardActionListenerlistener
-
Constructor Summary
Constructors Constructor Description KeyboardEventDispatcher()
-
Method Summary
Modifier and Type Method Description abstract KeyboardActionListenergetListener()The listener bound to this dispatcher. abstract BooleanisHeld(KeyCode key)Returns whether a given key is being held or not at the time of the call. -
-
Method Detail
-
getListener
abstract KeyboardActionListener getListener()
The listener bound to this dispatcher.
-
-
-
-