bibliothek.gui.dock.control.relocator
Interface VetoableDockRelocatorListener


public interface VetoableDockRelocatorListener

This listener can be added to a DockRelocator and will receive an event whenever the user, a RemoteRelocator or a DirectRemoteRelocator moves around a Dockable.

Author:
Benjamin Sigg

Method Summary
 void canceled(DockRelocatorEvent event)
          Called if a drag and drop operation was canceled due to any reason.
 void dragged(DockRelocatorEvent event)
          Called whenever the user moves the mouse during a drag and drop operation.
 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.
 

Method Detail

grabbing

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.

Parameters:
event - further description of the event

grabbed

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.

Parameters:
event - further description of the event

dragged

void dragged(DockRelocatorEvent event)
Called whenever the user moves the mouse during a drag and drop operation.

Parameters:
event - further description of the event

dropping

void dropping(DockRelocatorEvent event)
Called when the user released the mouse, but the Dockable was not yet moved.

Parameters:
event - further description of the event

dropped

void dropped(DockRelocatorEvent event)
Called after a drag and drop operation finished. The Dockable was moved by the operation.

Parameters:
event - further description of the event

canceled

void canceled(DockRelocatorEvent event)
Called if a drag and drop operation was canceled due to any reason.

Parameters:
event - further description of the event