Represents an event cause by mouse activitly. There are two possible way to identify a mouse event. One is by coordination (getX()
and getY().
The other is by a logical name, called area (getArea()
).
Name |
Description |
Data Type |
---|---|---|
|
Returns the logical name of the area that the click occurs, or null if not available. |
|
|
Returns what keys were pressed when the mouse is clicked, or 0 if none of them was pressed. |
int |
|
Returns the x coordination of the mouse pointer relevant to the component. |
int |
|
Returns the y coordination of the mouse pointer relevant to the component. |
int |