java.awt.event
Class MouseMotionAdapter
java.lang.Object
|
+--java.awt.event.MouseMotionAdapter
All Implemented Interfaces:
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:Author:- Aaron M. Renn <arenn@urbanophile.com>
See Also:
MouseMotionAdapter
public MouseMotionAdapter() Do nothing default constructor for subclasses.
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent event) Implement this method in the interface with an empty body.
Parameters:
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent event) Implement this method in the interface with an empty body.
Parameters:
MouseMotionListenerand implements all methods with empty bodies. This allows a listener interested in implementing only a subset of theMouseMotionListenerinterface to extend this class and override only the desired methods.