ibm.techexplorer.awt.event
Class MouseMotionAdaptor
java.lang.Object
|
+--ibm.techexplorer.awt.event.MouseMotionAdaptor
- All Implemented Interfaces:
- MouseMotionListener
- public abstract class MouseMotionAdaptor
- extends java.lang.Object
- implements MouseMotionListener
Description
The MouseMotionAdaptor
is a mouse listener with default implementations
for the methods imposed by the
ibm.techexplorer.awt.event.MouseMotionListener
interface.
The methods in this class are empty; this class is provided as a
convenience for ease in creating listeners by extending this class and
overriding only the methods of interest. Adaptor classes are frequently implemented
as inner classes.
- See Also:
AWTEvent
,
MouseEvent
,
MouseMotionListener
Method Summary |
void |
mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a techexplorer instance and then dragged. |
void |
mouseMoved(MouseEvent e)
Invoked when the mouse button has been moved on a techexplorer instance
(with no buttons no down). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MouseMotionAdaptor
public MouseMotionAdaptor()
mouseDragged
public void mouseDragged(MouseEvent e)
- Invoked when a mouse button is pressed on a techexplorer instance and then dragged.
- Specified by:
mouseDragged
in interface MouseMotionListener
mouseMoved
public void mouseMoved(MouseEvent e)
- Invoked when the mouse button has been moved on a techexplorer instance
(with no buttons no down).
- Specified by:
mouseMoved
in interface MouseMotionListener