Skip to main content

ButtonClickEvent

Java API

The ButtonClickEvent is an event type that is triggered when a user clicks on a

element. This event is essential for capturing user interactions with buttons on a web page, such as submitting forms, triggering actions, or navigating to different sections of the site.

Event Payload

MethodDescription
getX()Returns the X location of the mouse within the component at the time the event was fired.
getY()Returns the Y location of the mouse within the component at the time the event was fired.

See Also