com.javadocking.drag
Interface DraggerFactory

All Known Implementing Classes:
DynamicDraggerFactory, StaticDraggerFactory

public interface DraggerFactory

This is an interface for a factory that creates Draggers for the dockables of a given Dock or for a given Dockable.

Author:
Heidi Rakels.

Method Summary
 Dragger createDragger(Dock dock)
          Creates a dragger for the dockables of the given dock.
 Dragger createDragger(Dockable dockable)
          Creates a dragger for the given dockable.
 

Method Detail

createDragger

Dragger createDragger(Dock dock)
Creates a dragger for the dockables of the given dock.

Parameters:
dock - The dock for which a dragger should be created.
Returns:
The created dragger.

createDragger

Dragger createDragger(Dockable dockable)
Creates a dragger for the given dockable.

Parameters:
dockable - The dockable for which a dragger should be created.
Returns:
The created dragger.