|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PEMouseInputListener
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 |
---|
void mousePressed(PEMouseEvent e)
void mouseReleased(PEMouseEvent e)
void mouseClicked(PEMouseEvent e)
void mouseMoved(PEMouseEvent e)
void mouseDragged(PEMouseEvent e)
void mouseEntered(PEMouseEvent e)
void mouseExited(PEMouseEvent e)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |