java.awt.dnd.peer
Interface DropTargetPeer


public interface DropTargetPeer

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)

Since:
1.2

Method Summary
 void addDropTarget(DropTarget dt)
          Add the DropTarget to the System
 void removeDropTarget(DropTarget dt)
          Remove the DropTarget from the system
 

Method Detail

addDropTarget

public void addDropTarget(DropTarget dt)
Add the DropTarget to the System

Parameters:
dt - The DropTarget effected

removeDropTarget

public void removeDropTarget(DropTarget dt)
Remove the DropTarget from the system

Parameters:
dt - The DropTarget effected