java.awt.event
public interface MouseMotionListener extends EventListener
MouseMotionAdapter
,
MouseEvent
Modifier and Type | Method and Description |
---|---|
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.
|
void mouseDragged(MouseEvent event)
event
- the MouseEvent
indicating the motionvoid mouseMoved(MouseEvent event)
event
- the MouseEvent
indicating the motion