Interface CloseClickHandler

All Superinterfaces:
EventHandler

public interface CloseClickHandler extends EventHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Handles a click on the close button of this window.
  • Method Details

    • onCloseClick

      void onCloseClick(CloseClickEvent event)
      Handles a click on the close button of this window. The default implementation calls 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.

      Parameters:
      event - the event