|
|||||||||
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_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.
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 |
public void mouseClicked(MouseEvent e)
public void mouseEntered(MouseEvent e)
public void mouseExited(MouseEvent e)
public void mousePressed(MouseEvent e)
public void mouseReleased(MouseEvent e)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |