public interface CKeyboardListener
CKeyboardListener
gets informed about KeyEvent
s which
happen on certain CDockable
s. The events can fall through several
Dockable
s until they are processed. Once they are processed, no
other listener is informed about them.Modifier and Type | Method and Description |
---|---|
boolean |
keyPressed(CDockable source,
KeyEvent event)
Called when a key was pressed on a child or on
source . |
boolean |
keyReleased(CDockable source,
KeyEvent event)
Called when a key was released on a child or on
source . |
boolean |
keyTyped(CDockable source,
KeyEvent event)
Called when a key was typed on a child or on
source . |
boolean keyPressed(CDockable source, KeyEvent event)
source
.source
- the source of the eventevent
- the eventtrue
if this method processed the event and the
event must not be forwarded to other listeners, false
if this listener did not process the eventboolean keyReleased(CDockable source, KeyEvent event)
source
.source
- the source of the eventevent
- the eventtrue
if this method processed the event and the
event must not be forwarded to other listeners, false
if this listener did not process the eventboolean keyTyped(CDockable source, KeyEvent event)
source
.source
- the source of the eventevent
- the eventtrue
if this method processed the event and the
event must not be forwarded to other listeners, false
if this listener did not process the event