MouseMotionAdapter

Name

MouseMotionAdapter

[Graphic: Figure from the text]

Description

The MouseMotionAdapter class implements the methods of MouseMotionListener with empty functions. It may be easier for you to extend MouseMotionAdapter, overriding only those methods you are interested in, than to implement MouseMotionListener and provide the empty functions yourself.

Class Definition

public abstract class java.awt.event.MouseMotionAdapter extends java.lang.Object implements java.awt.event.MouseMotionListener {
 // Instance Methods public void mouseDragged (MouseEvent e);
public void mouseMoved (MouseEvent e);
}

Instance Methods

mouseDragged

public void mouseDragged (MouseEvent e)

mouseMoved

public void mouseEntered (MouseEvent e)

See Also

MouseEvent, MouseMotionListener