| Package | Description | 
|---|---|
| java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical
User Interface systems that provides a mechanism to transfer
information between two entities logically associated with presentation
elements in the GUI. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DropTargetThe  DropTargetis associated
 with aComponentwhen thatComponentwishes
 to accept drops during Drag and Drop operations. | 
| class  | DropTargetAdapterAn abstract adapter class for receiving drop target events. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DropTarget. addDropTargetListener(DropTargetListener dtl)Adds a new  DropTargetListener(UNICAST SOURCE). | 
| void | DropTarget. removeDropTargetListener(DropTargetListener dtl)Removes the current  DropTargetListener(UNICAST SOURCE). | 
| Constructor and Description | 
|---|
| DropTarget(Component c,
          DropTargetListener dtl)Creates a  DropTargetgiven theComponentto associate itself with, and theDropTargetListenerto handle event processing. | 
| DropTarget(Component c,
          int ops,
          DropTargetListener dtl)Creates a  DropTargetgiven theComponentto associate itself with, anintrepresenting
 the default acceptable action(s) to support, and aDropTargetListenerto handle event processing. | 
| DropTarget(Component c,
          int ops,
          DropTargetListener dtl,
          boolean act)Creates a  DropTargetgiven theComponentto associate itself with, anintrepresenting
 the default acceptable action(s)
 to support, aDropTargetListenerto handle event processing, and abooleanindicating
 if theDropTargetis currently accepting drops. | 
| DropTarget(Component c,
          int ops,
          DropTargetListener dtl,
          boolean act,
          FlavorMap fm)Creates a new DropTarget given the  Componentto associate itself with, anintrepresenting
 the default acceptable action(s) to
 support, aDropTargetListenerto handle event processing, abooleanindicating
 if theDropTargetis currently accepting drops, and
 aFlavorMapto use (or null for the defaultFlavorMap). | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2013, Oracle and/or its affiliates.  All rights reserved.