public interface CloseClickHandler extends EventHandler
Modifier and Type | Method and Description |
---|---|
void |
onCloseClick(CloseClickEvent event)
Handles a click on the close button of this window.
|
void onCloseClick(CloseClickEvent event)
close()
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 call close()
to trigger the default behavior.
event
- the event