
Thrown By: Toolkit.createDragSourceContextPeer(), DragGestureEvent.star tDrag(), DragSource.star tDrag(),
DropTargetContext.{dropComplete(), getTransferable()}, java.awt.dnd.peer.DragSourceContextPeer.{setCursor(),
star tDrag()}, java.awt.dnd.peer.DropTargetContextPeer.getTransferable()
MouseDragGestureRecognizer Ja va 1.2
java.awt.dnd
This class is a DragGestureRecognizer that is designed to recognize mouse gestures (as
opposed, for example, to keyboard gestures). Like DragGestureRecognizer, this is an
abstract class and cannot be instantiated. The createDefaultDragGestureRecognizer() method
of DragSource retur ns a platfor m-specific concr ete subclass of this class. Most applica-
tions do not need to use this class. Applications that want to support custom drag-and-
dr op gestur es may find it convenient to subclass this class.
public abstract class MouseDragGestureRecognizer extends DragGestureRecognizer
implements java.awt.event.MouseListener, java.awt.e vent.MouseMotionListener {
// Protected Constructors
protected MouseDragGestureRecognizer(DragSource ds);
protected MouseDragGestureRecognizer(DragSource ds, Component c);
protected MouseDragGestureRecognizer(DragSource ds, Component c, int act);
protected MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl);
// Methods Implementing MouseListener
emptypublic void mouseClicked(java.awt.e vent.MouseEvent e