Package docking
Interface DropTargetFactory
-
public interface DropTargetFactory
A factory for installing drop handlers onto components.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DropTargetHandler
createDropTargetHandler(java.awt.Component component)
Creates a drop handler for a given component.
-
-
-
Method Detail
-
createDropTargetHandler
DropTargetHandler createDropTargetHandler(java.awt.Component component)
Creates a drop handler for a given component.The drop handler is returned so that clients may dispose of the handler when they are done using it. This is recommended in order to cleanup resources.
- Parameters:
component
- The component onto which a drop handler should be installed.- Returns:
- The new drop handler.
-
-