java.awt.event.MouseMotionAdapter (JDK 1.1)
This class is a trivial implementation of MouseMotionListener; it provides empty bodies for each of the methods of that interface. When you are not interested in all of these methods, it is often easier to subclass MouseMotionAdapter than it is to implement MouseMotionListener from scratch.
public abstract classMouseMotionAdapterextends Object implements MouseMotionListener { //Default Constructor: public MouseMotionAdapter()//Public Instance Methodspublic voidmouseDragged(MouseEvente); //From MouseMotionListenerpublic voidmouseMoved(MouseEvente); //From MouseMotionListener}
Hierarchy:
Object->MouseMotionAdapter(MouseMotionListener(EventListener))