| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DragGestureEvent | |
|---|---|
| java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. | 
| 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 DragGestureEvent in java.awt | 
|---|
| Methods in java.awt with parameters of type DragGestureEvent | |
|---|---|
| abstract  java.awt.dnd.peer.DragSourceContextPeer | Toolkit.createDragSourceContextPeer(DragGestureEvent dge)Creates the peer for a DragSourceContext. | 
| Uses of DragGestureEvent in java.awt.dnd | 
|---|
| Methods in java.awt.dnd that return DragGestureEvent | |
|---|---|
|  DragGestureEvent | DragSourceContext.getTrigger()Returns the DragGestureEventthat initially triggered the drag. | 
| Methods in java.awt.dnd with parameters of type DragGestureEvent | |
|---|---|
| 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. | 
|  void | DragGestureListener.dragGestureRecognized(DragGestureEvent dge)A DragGestureRecognizerhas detected 
 a platform-dependent drag initiating gesture and 
 is notifying this listener
 in order for it to initiate the action for the user. | 
|  void | DragSource.startDrag(DragGestureEvent trigger,
          Cursor dragCursor,
          Image dragImage,
          Point dragOffset,
          Transferable transferable,
          DragSourceListener dsl)Start a drag, given the DragGestureEventthat initiated the drag, the initialCursorto use,
 theImageto drag, 
 the offset of theImageorigin 
 from the hotspot of theCursorat the instant of the trigger,
 the subject data of the drag, and 
 theDragSourceListener. | 
|  void | DragSource.startDrag(DragGestureEvent trigger,
          Cursor dragCursor,
          Image dragImage,
          Point imageOffset,
          Transferable transferable,
          DragSourceListener dsl,
          FlavorMap flavorMap)Start a drag, given the DragGestureEventthat 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. | 
|  void | DragSource.startDrag(DragGestureEvent trigger,
          Cursor dragCursor,
          Transferable transferable,
          DragSourceListener dsl)Start a drag, given the DragGestureEventthat initiated the drag, the initialCursorto 
 use, 
 theTransferablesubject data 
 of the drag, and theDragSourceListener. | 
|  void | DragSource.startDrag(DragGestureEvent trigger,
          Cursor dragCursor,
          Transferable transferable,
          DragSourceListener dsl,
          FlavorMap flavorMap)Start a drag, given the DragGestureEventthat initiated the drag, the initialCursorto use,
 theTransferablesubject data 
 of the drag, theDragSourceListener, 
 and theFlavorMap. | 
| Constructors in java.awt.dnd with parameters of type DragGestureEvent | |
|---|---|
| DragSourceContext(java.awt.dnd.peer.DragSourceContextPeer dscp,
                  DragGestureEvent trigger,
                  Cursor dragCursor,
                  Image dragImage,
                  Point offset,
                  Transferable t,
                  DragSourceListener dsl)Called from DragSource, this constructor creates a newDragSourceContextgiven theDragSourceContextPeerfor this Drag, theDragGestureEventthat triggered the Drag, the initialCursorto use for the Drag, an (optional)Imageto display while the Drag is taking place, the offset
 of theImageorigin from the hotspot at the instant of the
 triggering event, theTransferablesubject data, and theDragSourceListenerto use during the Drag and Drop
 operation. | |
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.