JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Class
java.awt.dnd.DragSourceContext

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

Methods in java.awt.dnd that return DragSourceContext
 DragSourceContext DragSourceEvent.getDragSourceContext()
          This method returns the DragSourceContext that originated the event.
protected  DragSourceContext DragSource.createDragSourceContext(java.awt.dnd.peer.DragSourceContextPeer dscp, DragGestureEvent dgl, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable t, DragSourceListener dsl)
          Creates the DragSourceContext to handle this drag.
 

Constructors in java.awt.dnd with parameters of type DragSourceContext
DragSourceDropEvent(DragSourceContext dsc, int action, boolean success)
          Construct a DragSourceDropEvent for a drop, given the DragSourceContext, the drop action, and a boolean indicating if the drop was successful.
DragSourceDropEvent(DragSourceContext dsc, int action, boolean success, int x, int y)
          Construct a DragSourceDropEvent for a drop, given the DragSourceContext, the drop action, a boolean indicating if the drop was successful, and coordinates.
DragSourceDropEvent(DragSourceContext dsc)
          Construct a DragSourceDropEvent for a drag that does not result in a drop.
DragSourceEvent(DragSourceContext dsc)
          Construct a DragSourceEvent given a specified DragSourceContext.
DragSourceEvent(DragSourceContext dsc, int x, int y)
          Construct a DragSourceEvent given a specified DragSourceContext, and coordinates of the cursor location.
DragSourceDragEvent(DragSourceContext dsc, int dropAction, int actions, int modifiers)
          Constructs a DragSourceDragEvent.
DragSourceDragEvent(DragSourceContext dsc, int dropAction, int actions, int modifiers, int x, int y)
          Constructs a DragSourceDragEvent given the specified DragSourceContext, user drop action, target drop action, modifiers and coordinates.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

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.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.