public static class UIButton.ClickEvent extends ComponentEvent<UIButton>
UIButton is clicked.ComponentEvent.ValueChange<T extends UIComponent<T>,S>component| Constructor and Description |
|---|
ClickEvent(UIButton component,
int x,
int y)
Instantiates a new
UIButton.ClickEvent. |
| Modifier and Type | Method and Description |
|---|---|
int |
getX()
Gets the x coordinate of the mouse.
|
int |
getY()
Gets the y coordinate of the mouse.
|
getComponent, isFromcancel, isCancelledpublic ClickEvent(UIButton component, int x, int y)
UIButton.ClickEvent.component - the componentx - the x coordinate of the mousey - the y coordinate of the mouse