|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CKeyboardListener
A 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.
CDockable.addKeyboardListener(CKeyboardListener)
,
CDockable.removeKeyboardListener(CKeyboardListener)
,
CControl.addKeyboardListener(CKeyboardListener)
,
CControl.removeKeyboardListener(CKeyboardListener)
Method Summary | |
---|---|
boolean |
keyPressed(CDockable source,
java.awt.event.KeyEvent event)
Called when a key was pressed on a child or on source . |
boolean |
keyReleased(CDockable source,
java.awt.event.KeyEvent event)
Called when a key was released on a child or on source . |
boolean |
keyTyped(CDockable source,
java.awt.event.KeyEvent event)
Called when a key was typed on a child or on source . |
Method Detail |
---|
boolean keyPressed(CDockable source, java.awt.event.KeyEvent event)
source
.
source
- the source of the eventevent
- the event
true
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, java.awt.event.KeyEvent event)
source
.
source
- the source of the eventevent
- the event
true
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, java.awt.event.KeyEvent event)
source
.
source
- the source of the eventevent
- the event
true
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |