Interface CloseClickHandler
- All Superinterfaces:
EventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCloseClick
(CloseClickEvent event) Handles a click on the close button of this window.
-
Method Details
-
onCloseClick
Handles a click on the close button of this window. The default implementation callsclose()
and returns false to prevent bubbling of the click event.Developers may use
addCloseClickHandler()
to provide custom handling when the user clicks this button. Custom implementations may callclose()
to trigger the default behavior.- Parameters:
event
- the event
-