Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
java.awt.datatransfer.FlavorMap

Packages that use FlavorMap
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.

Uses of FlavorMap in java.awt.datatransfer

Classes in java.awt.datatransfer that implement FlavorMap
`class` | `SystemFlavorMap` The SystemFlavorMap is an externally configurable map that maps platform native type names (strings) to MIME type strings, and also their associated DataFlavors.

Methods in java.awt.datatransfer that return FlavorMap
`static FlavorMap` | `SystemFlavorMap.getDefaultFlavorMap()` get the default system implementation

Uses of FlavorMap in java.awt.dnd

Methods in java.awt.dnd that return FlavorMap
`FlavorMap` | `DragSource.getFlavorMap()` This method returns the `FlavorMap` for this `DragSource`.
`FlavorMap` | `DropTarget.getFlavorMap()` This method returns the `FlavorMap` associated with this `DropTarget`

Methods in java.awt.dnd with parameters of type FlavorMap
`void` | `DragSource.startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap)` Start a drag, given the `DragGestureEvent` that initiated the drag, the initial `Cursor` to use, the `Image` to drag, the offset of the `Image` origin from the hotspot of the `Cursor` at the instant of the trigger, the `Transferable` subject data of the drag, the `DragSourceListener`, and the `FlavorMap`.
`void` | `DragSource.startDrag(DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap)` Start a drag, given the `DragGestureEvent` that initiated the drag, the initial `Cursor` to use, the `Transferable` subject data of the drag, the `DragSourceListener`, and the `FlavorMap`.
`void` | `DropTarget.setFlavorMap(FlavorMap fm)` This method sets the `FlavorMap` associated with this `DropTarget`.

Constructors in java.awt.dnd with parameters of type FlavorMap
`DropTarget(Component c, int ops, DropTargetListener dtl, boolean act, FlavorMap fm)` Construct a new DropTarget given the `Component` to associate itself with, an `int` representing the default acceptable action(s) to support, a `DropTargetListener` to handle event processing, a `boolean` indicating if the `DropTarget` is currently accepting drops, and a `FlavorMap` to use (or null).

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.