bibliothek.gui.dock.control.relocator
Class VetoableDockRelocatorAdapter

java.lang.Object
  extended by bibliothek.gui.dock.control.relocator.VetoableDockRelocatorAdapter
All Implemented Interfaces:
VetoableDockRelocatorListener

public abstract class VetoableDockRelocatorAdapter
extends Object
implements VetoableDockRelocatorListener

An adapter class to VetoableDockRelocatorListener, can be used to implement VetoableDockRelocatorListener without the need to implement all methods.

Author:
Benjamin Sigg

Constructor Summary
VetoableDockRelocatorAdapter()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VetoableDockRelocatorAdapter

public VetoableDockRelocatorAdapter()
Method Detail

canceled

public void canceled(DockRelocatorEvent event)
Description copied from interface: VetoableDockRelocatorListener
Called if a drag and drop operation was canceled due to any reason.

Specified by:
canceled in interface VetoableDockRelocatorListener
Parameters:
event - further description of the event

dragged

public void dragged(DockRelocatorEvent event)
Description copied from interface: VetoableDockRelocatorListener
Called after the 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.

Specified by:
dragged in interface VetoableDockRelocatorListener
Parameters:
event - further description

dragging

public void dragging(DockRelocatorEvent event)
Description copied from interface: VetoableDockRelocatorListener
Called before the 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.

Specified by:
dragging in interface VetoableDockRelocatorListener
Parameters:
event - further description of the event

searched

public void searched(DockRelocatorEvent event)
Description copied from interface: VetoableDockRelocatorListener
Called after the mouse has moved, the Dockable may have a new target DockStation.

Specified by:
searched in interface VetoableDockRelocatorListener
Parameters:
event - further description

dropped

public void dropped(DockRelocatorEvent event)
Description copied from interface: VetoableDockRelocatorListener
Called after a drag and drop operation finished. The 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.

Specified by:
dropped in interface VetoableDockRelocatorListener
Parameters:
event - further description of the event

dropping

public void dropping(DockRelocatorEvent event)
Description copied from interface: VetoableDockRelocatorListener
Called when the user released the mouse, but the 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.

Specified by:
dropping in interface VetoableDockRelocatorListener
Parameters:
event - further description of the event

grabbed

public void grabbed(DockRelocatorEvent event)
Description copied from interface: VetoableDockRelocatorListener
Called when the drag and drop operation started, after this method was invoked visible indicators for the user will start to appear.

Specified by:
grabbed in interface VetoableDockRelocatorListener
Parameters:
event - further description of the event

grabbing

public void grabbing(DockRelocatorEvent event)
Description copied from interface: VetoableDockRelocatorListener
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.

Specified by:
grabbing in interface VetoableDockRelocatorListener
Parameters:
event - further description of the event