|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the methods that a Java object must implement to receive
notifications for mouse events (MOUSE_MOVED and MOUSE_DRAGGED
) on
techexplorer instances. When a MouseEvent
corresponding to one of the aforementioned types occurs, a
techexplorer instance notifies registered listeners
by invoking one of the methods defined in the MouseMotionListener
interface.
The
ibm.techexplorer.techexplorer
Java reflection
of the techexplorer plug-in provides the addMouseMotionListener
and removeMouseMotionListener
methods for managing
MouseListener
objects.
The
ibm.techexplorer.awt.event.MouseMotionAdaptor
class can be used as it
provides empty default implementations for each of the methods imposed by the
MouseMotionListener
interface.
techexplorer
,
AWTEvent
,
MouseEvent
,
MouseMotionAdaptor
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). |
Method Detail |
public void mouseDragged(MouseEvent e)
public void mouseMoved(MouseEvent e)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |