Uses of Class
java.awt.dnd.DragSource
Packages that use DragSource
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 DragSource in java.awt
Methods in java.awt with parameters of type DragSourceModifier 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 DragSource in java.awt.dnd
Fields in java.awt.dnd declared as DragSourceModifier and TypeFieldDescriptionprotected DragSourceDragGestureRecognizer.dragSourceTheDragSourceassociated with thisDragGestureRecognizer.Methods in java.awt.dnd that return DragSourceModifier and TypeMethodDescriptionstatic DragSourceDragSource.getDefaultDragSource()Gets theDragSourceobject associated with the underlying platform.DragGestureEvent.getDragSource()Returns theDragSource.DragGestureRecognizer.getDragSource()This method returns theDragSourcethisDragGestureRecognizerwill use in order to process the Drag and Drop operation.DragSourceContext.getDragSource()Returns theDragSourcethat instantiated thisDragSourceContext.Constructors in java.awt.dnd with parameters of type DragSourceModifierConstructorDescriptionprotectedConstruct a newDragGestureRecognizergiven theDragSourceto be used in this Drag and Drop operation.protectedConstruct a newDragGestureRecognizergiven theDragSourceto be used in this Drag and Drop operation, and theComponentthisDragGestureRecognizershould "observe" for drag initiating gestures.protectedDragGestureRecognizer(DragSource ds, Component c, int sa) Construct a newDragGestureRecognizergiven theDragSourceto be used in this Drag and Drop operation, theComponentthisDragGestureRecognizershould "observe" for drag initiating gestures, and the action(s) supported for this Drag and Drop operation.protectedDragGestureRecognizer(DragSource ds, Component c, int sa, DragGestureListener dgl) Construct a newDragGestureRecognizergiven theDragSourceto be used in this Drag and Drop operation, theComponentthisDragGestureRecognizershould "observe" for drag initiating gestures, the action(s) supported for this Drag and Drop operation, and theDragGestureListenerto notify once a drag initiating gesture has been detected.protectedConstruct a newMouseDragGestureRecognizergiven theDragSourcefor theComponent.protectedConstruct a newMouseDragGestureRecognizergiven theDragSourcefor theComponentc, and theComponentto observe.protectedMouseDragGestureRecognizer(DragSource ds, Component c, int act) Construct a newMouseDragGestureRecognizergiven theDragSourcefor theComponentc, theComponentto observe, and the action(s) permitted for this drag operation.protectedMouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl) Construct a newMouseDragGestureRecognizergiven theDragSourcefor theComponentc, theComponentto observe, the action(s) permitted for this drag operation, and theDragGestureListenerto notify when a drag gesture is detected.