| Package | Description | 
|---|---|
| java.awt.datatransfer | Provides interfaces and classes for transferring data
between and within applications. | 
| 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 | Interface and Description | 
|---|---|
| interface  | FlavorTableA FlavorMap which relaxes the traditional 1-to-1 restriction of a Map. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SystemFlavorMapThe SystemFlavorMap is a configurable map between "natives" (Strings), which
 correspond to platform-specific data formats, and "flavors" (DataFlavors),
 which correspond to platform-independent MIME types. | 
| Modifier and Type | Method and Description | 
|---|---|
| static FlavorMap | SystemFlavorMap. getDefaultFlavorMap()Returns the default FlavorMap for this thread's ClassLoader. | 
| Modifier and Type | Method and Description | 
|---|---|
| FlavorMap | DropTarget. getFlavorMap()Gets the  FlavorMapassociated with thisDropTarget. | 
| FlavorMap | DragSource. getFlavorMap()This method returns the
  FlavorMapfor thisDragSource. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DropTarget. setFlavorMap(FlavorMap fm)Sets the  FlavorMapassociated
 with thisDropTarget. | 
| void | DragSource. startDrag(DragGestureEvent trigger,
         Cursor dragCursor,
         Image dragImage,
         Point imageOffset,
         Transferable transferable,
         DragSourceListener dsl,
         FlavorMap flavorMap)Start a drag, given the  DragGestureEventthat initiated the drag, the initialCursorto use,
 theImageto drag,
 the offset of theImageorigin
 from the hotspot of theCursorat
 the instant of the trigger,
 theTransferablesubject data
 of the drag, theDragSourceListener,
 and theFlavorMap. | 
| void | DragSource. startDrag(DragGestureEvent trigger,
         Cursor dragCursor,
         Transferable transferable,
         DragSourceListener dsl,
         FlavorMap flavorMap)Start a drag, given the  DragGestureEventthat initiated the drag, the initialCursorto use,
 theTransferablesubject data
 of the drag, theDragSourceListener,
 and theFlavorMap. | 
| Constructor and Description | 
|---|
| 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, 2011, Oracle and/or its affiliates.  All rights reserved. 
DRAFT ea-b138