ibm.techexplorer.awt.event
Interface MouseListener

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

public interface MouseListener

Description

This interface defines the methods that a Java object must implement to receive notifications for mouse events (MOUSE_CLICKED, MOUSE_PRESSED, MOUSE_RELEASED, MOUSE_ENTERED, MOUSE_EXITED) 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 MouseListener interface. The ibm.techexplorer.techexplorer Java reflection of the techexplorer plug-in provides the addMouseListener and removeMouseListener methods for managing MouseListener objects.

The ibm.techexplorer.awt.event.MouseAdaptor class can be used as it provides empty default implementations for each of the methods imposed by the MouseListener interface.

See Also:
techexplorer, AWTEvent, MouseEvent, MouseAdaptor

Method Summary
 void mouseClicked(MouseEvent e)
          Invoked when the mouse has been clicked on a techexplorer instance.
 void mouseEntered(MouseEvent e)
          Invoked when the mouse enters a techexplorer instance.
 void mouseExited(MouseEvent e)
          Invoked when the mouse exits a techexplorerr instance.
 void mousePressed(MouseEvent e)
          Invoked when a mouse button has been pressed on a techexplorer instance.
 void mouseReleased(MouseEvent e)
          As of techexplorer 3.1, mouseRelease is replaced by mouseReleased Invoked when a mouse button has been released on a techexplorer instance.
 

Method Detail

mouseClicked

public void mouseClicked(MouseEvent e)
Invoked when the mouse has been clicked on a techexplorer instance.

mouseEntered

public void mouseEntered(MouseEvent e)
Invoked when the mouse enters a techexplorer instance.

mouseExited

public void mouseExited(MouseEvent e)
Invoked when the mouse exits a techexplorerr instance.

mousePressed

public void mousePressed(MouseEvent e)
Invoked when a mouse button has been pressed on a techexplorer instance.

mouseReleased

public void mouseReleased(MouseEvent e)
As of techexplorer 3.1, mouseRelease is replaced by mouseReleased Invoked when a mouse button has been released on a techexplorer instance.