Uses of Class
java.awt.dnd.DropTargetContext
Packages that use DropTargetContext
Package
Description
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 DropTargetContext in java.awt.dnd
Fields in java.awt.dnd declared as DropTargetContextModifier and TypeFieldDescriptionprotected DropTargetContextDropTargetEvent.contextTheDropTargetContextassociated with thisDropTargetEvent.Methods in java.awt.dnd that return DropTargetContextModifier and TypeMethodDescriptionprotected DropTargetContextDropTarget.createDropTargetContext()Creates the DropTargetContext associated with this DropTarget.DropTarget.getDropTargetContext()Gets theDropTargetContextassociated with thisDropTarget.DropTargetEvent.getDropTargetContext()This method returns theDropTargetContextassociated with thisDropTargetEvent.Constructors in java.awt.dnd with parameters of type DropTargetContextModifierConstructorDescriptionDropTargetDragEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions) Construct aDropTargetDragEventgiven theDropTargetContextfor this operation, the location of the "Drag"Cursor's hotspot in theComponent's coordinates, the user drop action, and the source drop actions.DropTargetDropEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions) Construct aDropTargetDropEventgiven theDropTargetContextfor this operation, the location of the dragCursor's hotspot in theComponent's coordinates, the currently selected user drop action, and the current set of actions supported by the source.DropTargetDropEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions, boolean isLocal) Construct aDropTargetEventgiven theDropTargetContextfor this operation, the location of the dragCursor's hotspot in theComponent's coordinates, the currently selected user drop action, the current set of actions supported by the source, and abooleanindicating if the source is in the same JVM as the target.Construct aDropTargetEventobject with the specifiedDropTargetContext.