com.javadocking.drag
Interface DragListenerFactory

All Known Implementing Classes:
DefaultDragListenerFactory

public interface DragListenerFactory

This is an interface for factories that create DragListeners.

Author:
Heidi Rakels.

Method Summary
 DragListener createDragListener(Dockable dockable)
          Creates a drag listener for the given dockable.
 DragListener createDragListener(LeafDock dock)
          Creates a drag listener for the given dock.
 

Method Detail

createDragListener

DragListener createDragListener(LeafDock dock)
Creates a drag listener for the given dock.

Parameters:
dock - The drag listener will listen to drag events on this dock.
Returns:
The drag listener.

createDragListener

DragListener createDragListener(Dockable dockable)
Creates a drag listener for the given dockable.

Parameters:
dockable - The drag listener will listen to drag events of this dockable.
Returns:
The drag listener.