JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Interface
java.awt.dnd.DragGestureListener

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

Methods in java.awt with parameters of type DragGestureListener
 DragGestureRecognizer Toolkit.createDragGestureRecognizer(Class abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)
          create a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associate it with the DragSource, Component and DragGestureListener specified subclasses should override this to provide their own implementation
 

Uses of DragGestureListener in java.awt.dnd
 

Fields in java.awt.dnd declared as DragGestureListener
protected  DragGestureListener DragGestureRecognizer.dragGestureListener
          The DragGestureListener associated with this DragGestureRecognizer.
 

Methods in java.awt.dnd with parameters of type DragGestureListener
 void DragGestureRecognizer.addDragGestureListener(DragGestureListener dgl)
          Register a new DragGestureListener.
 void DragGestureRecognizer.removeDragGestureListener(DragGestureListener dgl)
          unregister the current DragGestureListener
 DragGestureRecognizer DragSource.createDragGestureRecognizer(Class recognizerAbstractClass, Component c, int actions, DragGestureListener dgl)
          Creates a new DragGestureRecognizer that implements the specified abstract subclass of DragGestureRecognizer, and sets the specified Component and DragGestureListener on the newly created object.
 DragGestureRecognizer DragSource.createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl)
          Creates a new DragSourceRecognizer that implements the default abstract subclass of DragGestureRecognizer for this DragSource, and sets the specified Component and DragGestureListener on the newly created object.
 

Constructors in java.awt.dnd with parameters of type DragGestureListener
DragGestureRecognizer(DragSource ds, Component c, int sa, DragGestureListener dgl)
          Construct a new DragGestureRecognizer given the DragSource to be used in this Drag and Drop operation, the Component this DragGestureRecognizer should "observe" for drag initiating gestures, the action(s) supported for this Drag and Drop operation, and the DragGestureListener to notify once a drag initiating gesture has been detected.
MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)
          Construct a new MouseDragGestureRecognizer given the DragSource for the Component c, the Component to observe, the action(s) permitted for this drag operation, and the DragGestureListener to notify when a drag gesture is detected.
 


JavaTM 2 Platform
Std. Ed. v1.3.1

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.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.