Package bibliothek.gui.dock.common.event
Interface CKeyboardListener
- All Known Implementing Classes:
CancelDragAndDropOperation
public interface CKeyboardListener
A
CKeyboardListener gets informed about KeyEvents which
happen on certain CDockables. The events can fall through several
Dockables until they are processed. Once they are processed, no
other listener is informed about them.- Author:
- Benjamin Sigg
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleankeyPressed(CDockable source, KeyEvent event) Called when a key was pressed on a child or onsource.booleankeyReleased(CDockable source, KeyEvent event) Called when a key was released on a child or onsource.booleanCalled when a key was typed on a child or onsource.
-
Method Details
-
keyPressed
Called when a key was pressed on a child or onsource.- Parameters:
source- the source of the eventevent- the event- Returns:
trueif this method processed the event and the event must not be forwarded to other listeners,falseif this listener did not process the event
-
keyReleased
Called when a key was released on a child or onsource.- Parameters:
source- the source of the eventevent- the event- Returns:
trueif this method processed the event and the event must not be forwarded to other listeners,falseif this listener did not process the event
-
keyTyped
Called when a key was typed on a child or onsource.- Parameters:
source- the source of the eventevent- the event- Returns:
trueif this method processed the event and the event must not be forwarded to other listeners,falseif this listener did not process the event
-