public class ObjectMouseEvent extends ObjectEvent
| Modifier and Type | Method and Description |
|---|---|
int |
getButton()
Gets the clicked mouse button.
|
int |
getClicks()
Gets the number of mouse clicks.
|
int |
getX()
Gets the relative x-coordinates of the mouse.
|
int |
getY()
Gets the relative y-coordinates of the mouse.
|
getObjectpublic int getButton()
public int getX()
The origin of this coordinate depends on the specific event.
public int getY()
The origin of this coordinate depends on the specific event.
public int getClicks()