Package docking

Interface DropTargetFactory

  • public interface DropTargetFactory
    A factory for installing drop handlers onto components.
    • 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.

        component - The component onto which a drop handler should be installed.
        The new drop handler.