java.awt.event

Class MouseMotionAdapter

public abstract class MouseMotionAdapter extends Object implements MouseMotionListener

This class implements MouseMotionListener and implements all methods with empty bodies. This allows a listener interested in implementing only a subset of the MouseMotionListener interface to extend this class and override only the desired methods.

Since: 1.1

See Also: MouseEvent MouseMotionListener

UNKNOWN: updated to 1.4

Constructor Summary
MouseMotionAdapter()
Do nothing default constructor for subclasses.
Method Summary
voidmouseDragged(MouseEvent event)
Implement this method in the interface with an empty body.
voidmouseMoved(MouseEvent event)
Implement this method in the interface with an empty body.

Constructor Detail

MouseMotionAdapter

public MouseMotionAdapter()
Do nothing default constructor for subclasses.

Method Detail

mouseDragged

public void mouseDragged(MouseEvent event)
Implement this method in the interface with an empty body.

Parameters: event the event, ignored in this implementation

mouseMoved

public void mouseMoved(MouseEvent event)
Implement this method in the interface with an empty body.

Parameters: event the event, ignored in this implementation