public class GlobalKeyEventDispatcher extends Object implements KeyEventDispatcher
Modifier and Type | Method and Description |
---|---|
boolean |
dispatchKeyEvent(KeyEvent e) |
KeyEventDispatcher |
getListenerAssignedTo(KeyStroke key) |
void |
registerKeyStroke(KeyStroke key,
KeyEventDispatcher disp) |
void |
removeAll() |
void |
removeKeyStrokeBinding(KeyStroke key) |
public void registerKeyStroke(KeyStroke key, KeyEventDispatcher disp) throws RuntimeException
RuntimeException
public void removeKeyStrokeBinding(KeyStroke key)
public void removeAll()
public KeyEventDispatcher getListenerAssignedTo(KeyStroke key)
public boolean dispatchKeyEvent(KeyEvent e)
dispatchKeyEvent
in interface KeyEventDispatcher