Save This Page
Home » openjdk-7 » java » awt » dnd » peer » [javadoc | source]
java.awt.dnd.peer
public interface: DropTargetPeer [javadoc | source]

The DropTargetPeer class is the interface to the platform dependent DnD facilities. Since the DnD system is based on the native platform's facilities, a DropTargetPeer will be associated with a ComponentPeer of the nearsest enclosing native Container (in the case of lightweights)

Method from java.awt.dnd.peer.DropTargetPeer Summary:
addDropTarget,   removeDropTarget
Method from java.awt.dnd.peer.DropTargetPeer Detail:
 public  void addDropTarget(DropTarget dt)
    Add the DropTarget to the System
 public  void removeDropTarget(DropTarget dt)
    Remove the DropTarget from the system