    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

Submit a bug or feature - Version 1.1.8 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1995-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.