public static class UIButton.ClickEvent extends ComponentEvent<UIButton>
UIButton
is clicked.ComponentEvent.ValueChange<T extends UIComponent,S>
component
Constructor and Description |
---|
UIButton.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, isFrom
cancel, isCancelled
public UIButton.ClickEvent(UIButton component, int x, int y)
UIButton.ClickEvent
.component
- the componentx
- the x coordinate of the mousey
- the y coordinate of the mouse