Package net.simplace.ui
Klasse FWKeyEventDispatcher
java.lang.Object
net.simplace.ui.FWKeyEventDispatcher
- Alle implementierten Schnittstellen:
KeyEventDispatcher
Delegates a keyEvent to the wanted actionListener not recognizing the current focus owner.
- Autor:
- Andreas Enders
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddKeyEvent(int aKeyCode, int aModifiers, ActionListener aListener, String aActionCommand) Adds a keyEvent to perform.booleandispatchKeyEvent(KeyEvent aKeyEvent) Delegates the events.static FWKeyEventDispatchersingleton methodvoidremoveKeyEvent(int aKeyCode, int aModifiers) Removes the keyEvent for the given actionCommand.
-
Methodendetails
-
getInstance
singleton method -
dispatchKeyEvent
Delegates the events.- Angegeben von:
dispatchKeyEventin SchnittstelleKeyEventDispatcher
-
addKeyEvent
public void addKeyEvent(int aKeyCode, int aModifiers, ActionListener aListener, String aActionCommand) Adds a keyEvent to perform. -
removeKeyEvent
public void removeKeyEvent(int aKeyCode, int aModifiers) Removes the keyEvent for the given actionCommand.
-