public class SwingKeyEventForwarder extends AbstractEventForwarder<TICKeyListener> implements KeyListener
TICMouseListener
s and delegates all Swing events to the entries in this list.
Warning: This class in meant for internal use by TICComponent
and is not guaranteed to have an unchanged
API in future releases with the same major version number.
Constructor and Description |
---|
SwingKeyEventForwarder(TICListenerSet<TICKeyListener> listenerSet) |
Modifier and Type | Method and Description |
---|---|
void |
keyPressed(KeyEvent event) |
void |
keyReleased(KeyEvent event) |
void |
keyTyped(KeyEvent event) |
forwardMouseEventToParent, getListenerSet
public SwingKeyEventForwarder(TICListenerSet<TICKeyListener> listenerSet)
public void keyPressed(KeyEvent event)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent event)
keyReleased
in interface KeyListener
public void keyTyped(KeyEvent event)
keyTyped
in interface KeyListener