java.awt.event
Class MouseMotionAdapter

java.lang.Object
  extended by java.awt.event.MouseMotionAdapter
All Implemented Interfaces:
MouseMotionListener, EventListener
Direct Known Subclasses:
BasicComboPopup.InvocationMouseMotionHandler, BasicComboPopup.ListMouseMotionHandler

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

Constructor Summary
MouseMotionAdapter()
          Do nothing default constructor for subclasses.
 
Method Summary
 void mouseDragged(MouseEvent event)
          Implement this method in the interface with an empty body.
 void mouseMoved(MouseEvent event)
          Implement this method in the interface with an empty body.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Specified by:
mouseDragged in interface MouseMotionListener
Parameters:
event - the event, ignored in this implementation

mouseMoved

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

Specified by:
mouseMoved in interface MouseMotionListener
Parameters:
event - the event, ignored in this implementation