| Package | Description |
|---|---|
| java.awt.datatransfer | |
| java.awt.dnd |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FlavorTable
A FlavorMap which relaxes the traditional 1-to-1 restriction of a Map.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SystemFlavorMap
The 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
FlavorMap
associated with this DropTarget. |
FlavorMap |
DragSource.getFlavorMap()
This method returns the
FlavorMap for this DragSource. |
| Modifier and Type | Method and Description |
|---|---|
void |
DropTarget.setFlavorMap(FlavorMap fm)
Sets the
FlavorMap associated
with this DropTarget. |
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. |
| Constructor and Description |
|---|
DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act,
FlavorMap fm)
Creates 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 for the default FlavorMap). |
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.