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 sample code for java.awt.dnd.peer.DropTargetPeer.addDropTarget(java.awt.dnd.DropTarget) definition code for java.awt.dnd.peer.DropTargetPeer.addDropTarget(java.awt.dnd.DropTarget) (DropTarget sample code for java.awt.dnd.DropTarget definition code for java.awt.dnd.DropTarget  dt)
          Add the DropTarget to the System
 void removeDropTarget sample code for java.awt.dnd.peer.DropTargetPeer.removeDropTarget(java.awt.dnd.DropTarget) definition code for java.awt.dnd.peer.DropTargetPeer.removeDropTarget(java.awt.dnd.DropTarget) (DropTarget sample code for java.awt.dnd.DropTarget definition code for java.awt.dnd.DropTarget  dt)
          Remove the DropTarget from the system
 

Method Detail

addDropTarget sample code for java.awt.dnd.peer.DropTargetPeer.addDropTarget(java.awt.dnd.DropTarget) definition code for java.awt.dnd.peer.DropTargetPeer.addDropTarget(java.awt.dnd.DropTarget)

void addDropTarget(DropTarget sample code for java.awt.dnd.DropTarget definition code for java.awt.dnd.DropTarget  dt)
Add the DropTarget to the System

Parameters:
dt - The DropTarget effected

removeDropTarget sample code for java.awt.dnd.peer.DropTargetPeer.removeDropTarget(java.awt.dnd.DropTarget) definition code for java.awt.dnd.peer.DropTargetPeer.removeDropTarget(java.awt.dnd.DropTarget)

void removeDropTarget(DropTarget sample code for java.awt.dnd.DropTarget definition code for java.awt.dnd.DropTarget  dt)
Remove the DropTarget from the system

Parameters:
dt - The DropTarget effected