Java™ Platform
Standard Ed. 6

Uses of Class
java.awt.dnd.DropTargetContext

Packages that use DropTargetContext
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 DropTargetContext in java.awt.dnd
 

Fields in java.awt.dnd declared as DropTargetContext
protected  DropTargetContext DropTargetEvent.context
          The DropTargetContext associated with this DropTargetEvent.
 

Methods in java.awt.dnd that return DropTargetContext
protected  DropTargetContext DropTarget.createDropTargetContext()
          Creates the DropTargetContext associated with this DropTarget.
 DropTargetContext DropTargetEvent.getDropTargetContext()
          This method returns the DropTargetContext associated with this DropTargetEvent.
 DropTargetContext DropTarget.getDropTargetContext()
          Gets the DropTargetContext associated with this DropTarget.
 

Constructors in java.awt.dnd with parameters of type DropTargetContext
DropTargetDragEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions)
          Construct a DropTargetDragEvent given the DropTargetContext for this operation, the location of the "Drag" Cursor's hotspot in the Component's coordinates, the user drop action, and the source drop actions.
DropTargetDropEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions)
          Construct a DropTargetDropEvent given the DropTargetContext for this operation, the location of the drag Cursor's hotspot in the Component'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 a DropTargetEvent given the DropTargetContext for this operation, the location of the drag Cursor's hotspot in the Component's coordinates, the currently selected user drop action, the current set of actions supported by the source, and a boolean indicating if the source is in the same JVM as the target.
DropTargetEvent(DropTargetContext dtc)
          Construct a DropTargetEvent with a specified DropTargetContext.
 


Java™ Platform
Standard Ed. 6

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

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.