|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MouseMotionListener
This interface is for classes that wish to be notified of mouse movements. This includes moves and drags, but not crossing component boundaries. To track other mouse events, use MouseListener or MouseWheelListener. To watch a subset of these events, use a MouseMotionAdapter.
MouseMotionAdapter
,
MouseEvent
Method Summary | |
---|---|
void |
mouseDragged(MouseEvent event)
This method is called when the mouse is moved over a component while a button has been pressed. |
void |
mouseMoved(MouseEvent event)
This method is called when the mouse is moved over a component while no button is pressed. |
Method Detail |
---|
void mouseDragged(MouseEvent event)
event
- the MouseEvent
indicating the motionvoid mouseMoved(MouseEvent event)
event
- the MouseEvent
indicating the motion
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |