Uses of Class
java.awt.dnd.DragGestureRecognizer Java DOCS
Packages that use 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
Methods in java.awt with type parameters of type DragGestureRecognizerModifier 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
Subclasses of DragGestureRecognizer in java.awt.dndModifier and TypeClassDescriptionclassThis abstract subclass ofDragGestureRecognizerdefines aDragGestureRecognizerfor mouse-based gestures.Methods in java.awt.dnd with type parameters of type DragGestureRecognizerModifier and TypeMethodDescription<T extends DragGestureRecognizer>
TDragSource.createDragGestureRecognizer(Class<T> recognizerAbstractClass, Component c, int actions, DragGestureListener dgl) Creates a newDragGestureRecognizerthat implements the specified abstract subclass ofDragGestureRecognizer, and sets the specifiedComponentandDragGestureListeneron the newly created object.Methods in java.awt.dnd that return DragGestureRecognizerModifier and TypeMethodDescriptionDragSource.createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl) Creates a newDragGestureRecognizerthat implements the default abstract subclass ofDragGestureRecognizerfor thisDragSource, and sets the specifiedComponentandDragGestureListeneron the newly created object.DragGestureEvent.getSourceAsDragGestureRecognizer()Returns the source as aDragGestureRecognizer.Constructors in java.awt.dnd with parameters of type DragGestureRecognizerModifierConstructorDescriptionDragGestureEvent(DragGestureRecognizer dgr, int act, Point ori, List<? extends InputEvent> evs) Constructs aDragGestureEventobject given by theDragGestureRecognizerinstance firing this event, anactparameter representing the user's preferred action, anoriparameter indicating the origin of the drag, and aListof events that comprise the gesture(evsparameter).