Interface java.awt.event.MouseMotionListener
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.awt.event.MouseMotionListener

public interface MouseMotionListener
extends EventListener
The listener interface for receiving mouse motion events on a component.

Version:
1.3 07/01/98
Author:
Amy Fowler

Method Index

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

Methods

 o 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).

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


All Packages  Class Hierarchy  This Package  Previous  Next  Index