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)
Modifier and Type | Method and Description |
---|---|
void |
addDropTarget(DropTarget dt)
Add the DropTarget to the System
|
void |
removeDropTarget(DropTarget dt)
Remove the DropTarget from the system
|
void addDropTarget(DropTarget dt)
dt
- The DropTarget effectedvoid removeDropTarget(DropTarget dt)
dt
- The DropTarget effectedDracula Javadoc Sample, Made with Allan Im.