com.javadocking.drag
Interface DragHandle

All Known Subinterfaces:
DockHeader
All Known Implementing Classes:
DefaultDockHeader, PointDockHeader, PointGripDockHeader, SingleDockHeader

public interface DragHandle

This is a handle for dragging one dockable or a group of dockables.

Author:
Heidi Rakels.

Method Summary
 DragListener getDragListener()
          Gets the drag listener that will drag the dockables attached to this handle.
 void setDragListener(DragListener dragListener)
          Sets the drag listener as mouse listener and mouse motion listener on the handle.
 

Method Detail

setDragListener

void setDragListener(DragListener dragListener)
Sets the drag listener as mouse listener and mouse motion listener on the handle.

Parameters:
dragListener - The drag listener that will drag the dockables attached to this handle.

getDragListener

DragListener getDragListener()
Gets the drag listener that will drag the dockables attached to this handle.

Returns:
The drag listener that drags the dockables attached to this handle.