Package com.javadocking.drag

Contains the functionality for dragging a Dockable from one Dock and docking it into another dock.

See:
          Description

Interface Summary
Dragger This is an interface for a class that drags Dockables from a source Dock to a destination dock.
DraggerFactory This is an interface for a factory that creates Draggers for the dockables of a given Dock or for a given Dockable.
DragHandle This is a handle for dragging one dockable or a group of dockables.
DragListener This is an interface for classes that can drag a Dockable from one Dock to another dock.
DragListenerFactory This is an interface for factories that create DragListeners.
 

Class Summary
DefaultDragListener This drag listener contains a Dragger.
DefaultDragListenerFactory This drag listener factory returns a DefaultDragListener as drag listener.
DynamicDockableDragger This is a class for dragging all the dockables in a LeafDock dynamically.
DynamicDragger This is a class for dragging all the dockables in a LeafDock dynamically.
DynamicDraggerFactory This dragger factory creates draggers that remove and add the dragged Dockables to new Docks dynamically during dragging.
DynamicTabDragger This is a class for dragging one Dockable or all the dockables in a TabDock dynamically.
StaticDockableDragger This is a class for dragging one Dockable.
StaticDragger This is a class for dragging all the dockables in a LeafDock.
StaticDraggerFactory This dragger factory creates draggers that show with rectangles during dragging, where the Dockables will be docked, if the mouse button is released in that position.
StaticSingleDragger This is a class for dragging one Dockable.
StaticTabDragger This is a class for dragging one dockable or all the dockables in a java.swing.JTabbedPane.
 

Package com.javadocking.drag Description

Contains the functionality for dragging a Dockable from one Dock and docking it into another dock.

Information on using dragging is in How to Use the Dragging in The Sanaware Developer Guide.

There are 2 main interfaces: DragListener and Dragger.
A drag listener listens to mouse events and decides what should be done:

This functionality is delegated to the dragger. The drag listener should be added to the components where dragging can be started, e.g. tab labels or dock headers.

The dragger contains the real drag functionality.