Uses of Class
java.awt.dnd.DragGestureRecognizer
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
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 DragGestureRecognizer in java.awt
Modifier and TypeMethodDescription<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 DragGestureRecognizer in java.awt.dnd
Modifier and TypeClassDescriptionclass
This abstract subclass ofDragGestureRecognizer
defines aDragGestureRecognizer
for mouse-based gestures.Modifier and TypeMethodDescription<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.Modifier and TypeMethodDescriptionDragSource.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.DragGestureEvent.getSourceAsDragGestureRecognizer()
Returns the source as aDragGestureRecognizer
.ModifierConstructorDescriptionDragGestureEvent
(DragGestureRecognizer dgr, int act, Point ori, List<? extends InputEvent> evs) Constructs aDragGestureEvent
object given by theDragGestureRecognizer
instance firing this event, anact
parameter representing the user's preferred action, anori
parameter indicating the origin of the drag, and aList
of events that comprise the gesture(evs
parameter).