public abstract class VetoableDockRelocatorAdapter extends Object implements VetoableDockRelocatorListener
VetoableDockRelocatorListener
, can be used to implement VetoableDockRelocatorListener
without the need to implement all methods.Constructor and Description |
---|
VetoableDockRelocatorAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
canceled(DockRelocatorEvent event)
Called if a drag and drop operation was canceled due to any reason.
|
void |
dragged(DockRelocatorEvent event)
Called after the
Dockable was removed from its parent. |
void |
dragging(DockRelocatorEvent event)
Called before the
Dockable is removed from its parent. |
void |
dropped(DockRelocatorEvent event)
Called after a drag and drop operation finished.
|
void |
dropping(DockRelocatorEvent event)
Called when the user released the mouse, but the
Dockable was not
yet moved. |
void |
grabbed(DockRelocatorEvent event)
Called when the drag and drop operation started, after this method was invoked visible
indicators for the user will start to appear.
|
void |
grabbing(DockRelocatorEvent event)
Called before the drag and drop operations starts, the user is already pressing the mouse,
but there are no visible indicators of the operation yet.
|
void |
searched(DockRelocatorEvent event)
Called after the mouse has moved, the
Dockable may have a new target DockStation . |
public void canceled(DockRelocatorEvent event)
VetoableDockRelocatorListener
canceled
in interface VetoableDockRelocatorListener
event
- further description of the eventpublic void dragged(DockRelocatorEvent event)
VetoableDockRelocatorListener
Dockable
was removed from its parent. It is possible that the Dockable
already has a new parent. It is even possible that the new parent is the old parent. This event can neither be canceled nor forbidden.dragged
in interface VetoableDockRelocatorListener
event
- further descriptionpublic void dragging(DockRelocatorEvent event)
VetoableDockRelocatorListener
Dockable
is removed from its parent. This event may even be called, if the future
parent of the Dockable
is identical to the current parent.dragging
in interface VetoableDockRelocatorListener
event
- further description of the eventpublic void searched(DockRelocatorEvent event)
VetoableDockRelocatorListener
Dockable
may have a new target DockStation
.searched
in interface VetoableDockRelocatorListener
event
- further descriptionpublic void dropped(DockRelocatorEvent event)
VetoableDockRelocatorListener
Dockable
was moved
by the operation. Please note that the actual parent of the Dockable
does not have to be
the target station
. This event can neither be canceled nor forbidden.dropped
in interface VetoableDockRelocatorListener
event
- further description of the eventpublic void dropping(DockRelocatorEvent event)
VetoableDockRelocatorListener
Dockable
was not
yet moved. After the drop operation completed the Dockable
will either be a child
of the target station
, of its current parent or has no parent at all.dropping
in interface VetoableDockRelocatorListener
event
- further description of the eventpublic void grabbed(DockRelocatorEvent event)
VetoableDockRelocatorListener
grabbed
in interface VetoableDockRelocatorListener
event
- further description of the eventpublic void grabbing(DockRelocatorEvent event)
VetoableDockRelocatorListener
grabbing
in interface VetoableDockRelocatorListener
event
- further description of the event