java.awt.event
Interface MouseMotionListener
java.lang.Object
|
+--java.util.EventListener
|
+--java.awt.event.MouseMotionListener
All Implemented Interfaces:
EventListener
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.
Since:Author:- Aaron M. Renn <arenn@urbanophile.com>
See Also:
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent event)
This method is called when the mouse is moved over a component
while a button has been pressed.
Parameters:
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent event)
This method is called when the mouse is moved over a component
while no button is pressed.
Parameters: