Uses of Interface
java.awt.datatransfer.FlavorMap
Packages that use FlavorMap
Package
Description
Provides interfaces and classes for transferring data between and within
applications.
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
Subinterfaces of FlavorMap in java.awt.datatransferModifier and TypeInterfaceDescriptioninterfaceA FlavorMap which relaxes the traditional 1-to-1 restriction of a Map.Classes in java.awt.datatransfer that implement FlavorMapModifier and TypeClassDescriptionfinal classThe 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.Methods in java.awt.datatransfer that return FlavorMapModifier and TypeMethodDescriptionstatic FlavorMapSystemFlavorMap.getDefaultFlavorMap()Returns the default FlavorMap for this thread's ClassLoader. -
Uses of FlavorMap in java.awt.dnd
Methods in java.awt.dnd that return FlavorMapModifier and TypeMethodDescriptionDragSource.getFlavorMap()This method returns theFlavorMapfor thisDragSource.DropTarget.getFlavorMap()Gets theFlavorMapassociated with thisDropTarget.Methods in java.awt.dnd with parameters of type FlavorMapModifier and TypeMethodDescriptionvoidDropTarget.setFlavorMap(FlavorMap fm) Sets theFlavorMapassociated with thisDropTarget.voidDragSource.startDrag(DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap) Start a drag, given theDragGestureEventthat initiated the drag, the initialCursorto use, theTransferablesubject data of the drag, theDragSourceListener, and theFlavorMap.voidDragSource.startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap) Start a drag, given theDragGestureEventthat 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.Constructors in java.awt.dnd with parameters of type FlavorMapModifierConstructorDescriptionDropTarget(Component c, int ops, DropTargetListener dtl, boolean act, FlavorMap fm) Creates a new DropTarget given theComponentto 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).