|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The listener for receiving mouse and mouse motion events. In comparison with
javax.swing.event.MouseInputListener,
the benefit of using this listener is that MouseEvent's are translated into PEMouseEvent's, and the latter
contain enhanced data e.g. model-coordinates in addition to usual screen-coordinates.
PEMouseEvent| Method Summary | |
void |
mouseClicked(PEMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on a component. |
void |
mouseDragged(PEMouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged. |
void |
mouseEntered(PEMouseEvent e)
Invoked when the mouse enters a component. |
void |
mouseExited(PEMouseEvent e)
nvoked when the mouse exits a component. |
void |
mouseMoved(PEMouseEvent e)
Invoked when the mouse button has been moved on a component (with no buttons down). |
void |
mousePressed(PEMouseEvent e)
Invoked when a mouse button has been pressed on a component. |
void |
mouseReleased(PEMouseEvent e)
Invoked when a mouse button has been released on a component. |
| Method Detail |
public void mousePressed(PEMouseEvent e)
public void mouseReleased(PEMouseEvent e)
public void mouseClicked(PEMouseEvent e)
public void mouseMoved(PEMouseEvent e)
public void mouseDragged(PEMouseEvent e)
public void mouseEntered(PEMouseEvent e)
public void mouseExited(PEMouseEvent e)
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||