|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.MouseMotionAdapter
public abstract class MouseMotionAdapter
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.
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 |
---|
public MouseMotionAdapter()
Method Detail |
---|
public void mouseDragged(MouseEvent event)
mouseDragged
in interface MouseMotionListener
event
- the event, ignored in this implementationpublic void mouseMoved(MouseEvent event)
mouseMoved
in interface MouseMotionListener
event
- the event, ignored in this implementation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |