APIdia Launch Partner
Top Description Methods
java.awt.dnd.peer

public Interface DropTargetPeer

Known Direct Implementers
sun.awt.X11.XComponentPeer
Imports
java.awt.dnd.DropTarget

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 nearest enclosing native Container (in the case of lightweights)

Since
1.2

Method Summary

Modifier and TypeMethod and Description
public void
addDropTarget(DropTarget
The DropTarget effected
dt
)

Add the DropTarget to the System

public void
removeDropTarget(DropTarget
The DropTarget effected
dt
)

Remove the DropTarget from the system

Method Detail

addDropTargetback to summary
public void addDropTarget(DropTarget dt)

Add the DropTarget to the System

Parameters
dt:DropTarget

The DropTarget effected

removeDropTargetback to summary
public void removeDropTarget(DropTarget dt)

Remove the DropTarget from the system

Parameters
dt:DropTarget

The DropTarget effected