Package docking
Interface DropTargetFactory
public interface DropTargetFactory
A factory for installing drop handlers onto components.
-
Method Summary
Modifier and TypeMethodDescriptioncreateDropTargetHandler
(Component component) Creates a drop handler for a given component.
-
Method Details
-
createDropTargetHandler
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.
-