Where Am I? Class Hierarchy (JDK) All Classes (JDK) All Fields and Methods (JDK)

Interface java.awt.event.MouseMotionListener

public interface MouseMotionListener
extends EventListener

The listener interface for receiving mouse motion events on a component.


Method Index

mouseDragged(MouseEvent)
Invoked when a mouse button is pressed on a component and then dragged.
mouseMoved(MouseEvent)
Invoked when the mouse button has been moved on a component (with no buttons no down).

Methods

mouseDragged
 public abstract void mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged. Mouse drag events will continue to be delivered to the component where the first originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).

mouseMoved
 public abstract void mouseMoved(MouseEvent e)
Invoked when the mouse button has been moved on a component (with no buttons no down).


Where Am I? Class Hierarchy (JDK) All Classes (JDK) All Fields and Methods (JDK)