|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.dnd.DragGestureRecognizer
java.awt.dnd.MouseDragGestureRecognizer
public abstract class MouseDragGestureRecognizer
| Field Summary |
|---|
| Fields inherited from class java.awt.dnd.DragGestureRecognizer |
|---|
component, dragGestureListener, dragSource, events, sourceActions |
| Constructor Summary | |
|---|---|
protected |
MouseDragGestureRecognizer(DragSource ds)
Creates a MouseDragGestureRecognizer object. |
protected |
MouseDragGestureRecognizer(DragSource ds,
Component c)
Creates a MouseDragGestureRecognizer object. |
protected |
MouseDragGestureRecognizer(DragSource ds,
Component c,
int act)
Creates a MouseDragGestureRecognizer object. |
protected |
MouseDragGestureRecognizer(DragSource ds,
Component c,
int act,
DragGestureListener dgl)
Creates a MouseDragGestureRecognizer object. |
| Method Summary | |
|---|---|
void |
mouseClicked(MouseEvent e)
This method is called when the mouse is clicked (pressed and released in short succession) on a component. |
void |
mouseDragged(MouseEvent e)
This method is called when the mouse is moved over a component while a button has been pressed. |
void |
mouseEntered(MouseEvent e)
This method is called when the mouse enters a component. |
void |
mouseExited(MouseEvent e)
This method is called when the mouse exits a component. |
void |
mouseMoved(MouseEvent e)
This method is called when the mouse is moved over a component while no button is pressed. |
void |
mousePressed(MouseEvent e)
This method is called when the mouse is pressed over a component. |
void |
mouseReleased(MouseEvent e)
This method is called when the mouse is released over a component. |
protected void |
registerListeners()
|
protected void |
unregisterListeners()
|
| Methods inherited from class java.awt.dnd.DragGestureRecognizer |
|---|
addDragGestureListener, appendEvent, fireDragGestureRecognized, getComponent, getDragSource, getSourceActions, getTriggerEvent, removeDragGestureListener, resetRecognizer, setComponent, setSourceActions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected MouseDragGestureRecognizer(DragSource ds,
Component c,
int act,
DragGestureListener dgl)
MouseDragGestureRecognizer object.
protected MouseDragGestureRecognizer(DragSource ds,
Component c,
int act)
MouseDragGestureRecognizer object.
protected MouseDragGestureRecognizer(DragSource ds,
Component c)
MouseDragGestureRecognizer object.
protected MouseDragGestureRecognizer(DragSource ds)
MouseDragGestureRecognizer object.
| Method Detail |
|---|
protected void registerListeners()
registerListeners in class DragGestureRecognizerprotected void unregisterListeners()
unregisterListeners in class DragGestureRecognizerpublic void mouseClicked(MouseEvent e)
MouseListener
mouseClicked in interface MouseListenere - the MouseEvent indicating the clickpublic void mousePressed(MouseEvent e)
MouseListener
mousePressed in interface MouseListenere - the MouseEvent for the presspublic void mouseReleased(MouseEvent e)
MouseListener
mouseReleased in interface MouseListenere - the MouseEvent for the releasepublic void mouseEntered(MouseEvent e)
MouseListener
mouseEntered in interface MouseListenere - the MouseEvent for the entrypublic void mouseExited(MouseEvent e)
MouseListener
mouseExited in interface MouseListenere - the MouseEvent for the exitpublic void mouseDragged(MouseEvent e)
MouseMotionListener
mouseDragged in interface MouseMotionListenere - the MouseEvent indicating the motionpublic void mouseMoved(MouseEvent e)
MouseMotionListener
mouseMoved in interface MouseMotionListenere - the MouseEvent indicating the motion
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||