ibm.techexplorer.awt.event
Interface MouseMotionListener

All Known Subinterfaces:
techexplorerListener
All Known Implementing Classes:
MouseMotionAdaptor, techexplorerAdaptor

public interface MouseMotionListener

Description

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.

See Also:
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

mouseDragged

public void mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a techexplorer instance and then dragged.

mouseMoved

public void mouseMoved(MouseEvent e)
Invoked when the mouse button has been moved on a techexplorer instance (with no buttons no down).