public interface HasCloseClickHandlers
extends com.google.gwt.event.shared.HasHandlers
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addCloseClickHandler(CloseClickHandler handler)
Handles a click on the close button of this window.
|
com.google.gwt.event.shared.HandlerRegistration addCloseClickHandler(CloseClickHandler handler)
Window.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.
handler
- the closeClick handlerHandlerRegistration
used to remove this handler