|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DragGestureRecognizer | |
---|---|
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 DragGestureRecognizer in java.awt |
---|
Methods in java.awt with type parameters of type DragGestureRecognizer | ||
---|---|---|
|
Toolkit.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.dnd | |
---|---|
class |
MouseDragGestureRecognizer
This abstract subclass of DragGestureRecognizer
defines a DragGestureRecognizer
for mouse-based gestures. |
Methods in java.awt.dnd with type parameters of type DragGestureRecognizer | ||
---|---|---|
|
DragSource.createDragGestureRecognizer(Class<T> 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. |
Methods in java.awt.dnd that return DragGestureRecognizer | |
---|---|
DragGestureRecognizer |
DragSource.createDefaultDragGestureRecognizer(Component c,
int actions,
DragGestureListener dgl)
Creates a new DragGestureRecognizer
that implements the default
abstract subclass of DragGestureRecognizer
for this DragSource ,
and sets the specified Component
and DragGestureListener on the
newly created object. |
DragGestureRecognizer |
DragGestureEvent.getSourceAsDragGestureRecognizer()
Returns the source as a DragGestureRecognizer . |
Constructors in java.awt.dnd with parameters of type DragGestureRecognizer | |
---|---|
DragGestureEvent(DragGestureRecognizer dgr,
int act,
Point ori,
List<? extends InputEvent> evs)
Construct a DragGestureEvent given the
DragGestureRecognizer firing this event,
an int representing
the user's preferred action, a Point
indicating the origin of the drag, and a List
of events that comprise the gesture. |
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.