public class CancelDragAndDropOperation extends java.lang.Object implements CKeyboardListener
Constructor and Description |
---|
CancelDragAndDropOperation(CControl control) |
Modifier and Type | Method and Description |
---|---|
DockElement |
getTreeLocation() |
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 . |
public CancelDragAndDropOperation(CControl control)
public DockElement getTreeLocation()
public boolean keyPressed(CDockable source, java.awt.event.KeyEvent event)
CKeyboardListener
source
.keyPressed
in interface CKeyboardListener
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 eventpublic boolean keyReleased(CDockable source, java.awt.event.KeyEvent event)
CKeyboardListener
source
.keyReleased
in interface CKeyboardListener
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 eventpublic boolean keyTyped(CDockable source, java.awt.event.KeyEvent event)
CKeyboardListener
source
.keyTyped
in interface CKeyboardListener
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