| Package | Description |
|---|---|
| java.awt | |
| java.awt.dnd |
| Modifier and Type | Method and Description |
|---|---|
<T extends 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected DragGestureListener |
DragGestureRecognizer.dragGestureListener
The
DragGestureListener
associated with this DragGestureRecognizer. |
| Modifier and Type | Method and Description |
|---|---|
void |
DragGestureRecognizer.addDragGestureListener(DragGestureListener dgl)
Register a new
DragGestureListener. |
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. |
<T extends 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. |
void |
DragGestureRecognizer.removeDragGestureListener(DragGestureListener dgl)
unregister the current DragGestureListener
|
| Constructor and Description |
|---|
DragGestureRecognizer(DragSource ds,
Component c,
int sa,
DragGestureListener dgl)
Construct a new
DragGestureRecognizer
given the DragSource to be used
in this Drag and Drop operation, the Component
this DragGestureRecognizer should "observe"
for drag initiating gestures, the action(s) supported
for this Drag and Drop operation, and the
DragGestureListener to notify
once a drag initiating gesture has been detected. |
MouseDragGestureRecognizer(DragSource ds,
Component c,
int act,
DragGestureListener dgl)
Construct a new
MouseDragGestureRecognizer
given the DragSource for the
Component c, the Component
to observe, the action(s)
permitted for this drag operation, and
the DragGestureListener to
notify when a drag gesture is detected. |
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.