    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.

##

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

##

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

    All Packages  Class Hierarchy  This Package  Previous  Next  Index