| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 | |
|---|---|
| protected  DragSourceContext | DragSource.createDragSourceContext(java.awt.dnd.peer.DragSourceContextPeer dscp,
                        DragGestureEvent dgl,
                        Cursor dragCursor,
                        Image dragImage,
                        Point imageOffset,
                        Transferable t,
                        DragSourceListener dsl)Creates the DragSourceContextto handle this drag. | 
|  DragSourceContext | DragSourceEvent.getDragSourceContext()This method returns the DragSourceContextthat 
 originated the event. | 
| Constructors in java.awt.dnd with parameters of type DragSourceContext | |
|---|---|
| DragSourceDragEvent(DragSourceContext dsc,
                    int dropAction,
                    int action,
                    int modifiers)Constructs a DragSourceDragEvent. | |
| DragSourceDragEvent(DragSourceContext dsc,
                    int dropAction,
                    int action,
                    int modifiers,
                    int x,
                    int y)Constructs a DragSourceDragEventgiven the specifiedDragSourceContext, user drop action, target drop action,
 modifiers and coordinates. | |
| DragSourceDropEvent(DragSourceContext dsc)Construct a DragSourceDropEventfor a drag that does not result in a drop. | |
| DragSourceDropEvent(DragSourceContext dsc,
                    int action,
                    boolean success)Construct a DragSourceDropEventfor a drop, 
 given theDragSourceContext, the drop action, 
 and abooleanindicating if the drop was successful. | |
| DragSourceDropEvent(DragSourceContext dsc,
                    int action,
                    boolean success,
                    int x,
                    int y)Construct a DragSourceDropEventfor a drop, given theDragSourceContext, the drop action, abooleanindicating if the drop was successful, and coordinates. | |
| DragSourceEvent(DragSourceContext dsc)Construct a DragSourceEventgiven a specifiedDragSourceContext. | |
| DragSourceEvent(DragSourceContext dsc,
                int x,
                int y)Construct a DragSourceEventgiven a specifiedDragSourceContext, and coordinates of the cursor
 location. | |
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.