Uses of Interface
java.awt.dnd.DragGestureListener
-
Packages that use DragGestureListener Package Description 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 Modifier and Type Method Description <T extends DragGestureRecognizer>
TToolkit. createDragGestureRecognizer(Class<T> abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)
Creates a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associates it with the DragSource, Component and DragGestureListener specified. -
Uses of DragGestureListener in java.awt.dnd
Fields in java.awt.dnd declared as DragGestureListener Modifier and Type Field Description protected DragGestureListener
DragGestureRecognizer. dragGestureListener
TheDragGestureListener
associated with thisDragGestureRecognizer
.Methods in java.awt.dnd with parameters of type DragGestureListener Modifier and Type Method Description void
DragGestureRecognizer. addDragGestureListener(DragGestureListener dgl)
Register a newDragGestureListener
.DragGestureRecognizer
DragSource. createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl)
Creates a newDragGestureRecognizer
that implements the default abstract subclass ofDragGestureRecognizer
for thisDragSource
, and sets the specifiedComponent
andDragGestureListener
on the newly created object.<T extends DragGestureRecognizer>
TDragSource. createDragGestureRecognizer(Class<T> recognizerAbstractClass, Component c, int actions, DragGestureListener dgl)
Creates a newDragGestureRecognizer
that implements the specified abstract subclass ofDragGestureRecognizer
, and sets the specifiedComponent
andDragGestureListener
on the newly created object.void
DragGestureRecognizer. removeDragGestureListener(DragGestureListener dgl)
unregister the current DragGestureListenerConstructors in java.awt.dnd with parameters of type DragGestureListener Constructor Description DragGestureRecognizer(DragSource ds, Component c, int sa, DragGestureListener dgl)
Construct a newDragGestureRecognizer
given theDragSource
to be used in this Drag and Drop operation, theComponent
thisDragGestureRecognizer
should "observe" for drag initiating gestures, the action(s) supported for this Drag and Drop operation, and theDragGestureListener
to notify once a drag initiating gesture has been detected.MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)
Construct a newMouseDragGestureRecognizer
given theDragSource
for theComponent
c, theComponent
to observe, the action(s) permitted for this drag operation, and theDragGestureListener
to notify when a drag gesture is detected.
-