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