This interface defines the methods that an object must implement to "listen" for mouse motion events on AWT components. When a MouseEvent occurs involving a mouse drag or mouse motion with no buttons down, an AWT component notifies its registered MouseMotionListener objects by invoking one of their methods.
An easy way to implement this is by subclassing the MouseMotionAdapter class.
public abstract interface MouseMotionListener extends EventListener { // Public Instance Methods public abstract void mouseDragged(MouseEvent e); public abstract void mouseMoved(MouseEvent e); }
AWTEventMulticaster, MouseMotionAdapter
AWTEventMulticaster.add(), AWTEventMulticaster.remove(), Component.addMouseMotionListener(), Component.removeMouseMotionListener()
AWTEventMulticaster.add(), AWTEventMulticaster.remove()