bibliothek.gui.dock.event
Interface DockRelocatorListener

All Known Subinterfaces:
DockListener
All Known Implementing Classes:
AbstractMouseFocusObserver, ActionBinder, DefaultMouseFocusObserver, DockAdapter, DockRelocatorAdapter, SecureMouseFocusObserver

Deprecated. please use VetoableDockRelocatorListener instead. This interface will be removed in a future release

@Deprecated
@Todo(compatibility=BREAK_MAJOR,
      priority=MINOR,
      target=VERSION_1_1_2,
      description="remove this interface")
public interface DockRelocatorListener

A listener used by a DockRelocator to inform when a Dockable is moved around.

Author:
Benjamin Sigg

Method Summary
 void cancel(DockController controller, Dockable dockable)
          Deprecated. Invoked when a drag and drop operation was initiated, but canceld.
 void drag(DockController controller, Dockable dockable, DockStation station)
          Deprecated. Invoked when a drag and drop operation has been confirmed.
 void drop(DockController controller, Dockable dockable, DockStation station)
          Deprecated. Invoked after a Dockable was dropped.
 void init(DockController controller, Dockable dockable)
          Deprecated. Invoked when a drag and drop operation is initiated.
 

Method Detail

init

void init(DockController controller,
          Dockable dockable)
Deprecated. 
Invoked when a drag and drop operation is initiated. This method is called when the user made the gesture of dragging, but not yet of dropping.

Parameters:
controller - the origin of the event
dockable - the element that has been grabbed

cancel

void cancel(DockController controller,
            Dockable dockable)
Deprecated. 
Invoked when a drag and drop operation was initiated, but canceld. This method can be called any time after init(DockController, Dockable). was called.

Parameters:
controller - the origin of the event
dockable - the element that has been grabbed

drag

void drag(DockController controller,
          Dockable dockable,
          DockStation station)
Deprecated. 
Invoked when a drag and drop operation has been confirmed. This method is called after the user made a drop-gesture, but before dockable is dragged from its old parent.

Parameters:
controller - the origin of the event
dockable - the Dockable which was dragged
station - the future parent of dockable
See Also:
drop(DockController, Dockable, DockStation)

drop

void drop(DockController controller,
          Dockable dockable,
          DockStation station)
Deprecated. 
Invoked after a Dockable was dropped.

Parameters:
controller - the origin of the event
dockable - the Dockable which was dragged
station - the new parent of dockable
See Also:
drag(DockController, Dockable, DockStation)