Interface HasCloseClickHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
AISortProgressDialog, AIWindow, BuildUIViaAIProgressDialog, BuildViaAIProgressDialog, ColorPicker, DateRangeDialog, Dialog, EditSearchWindow, FieldPickerWindow, FilterViaAIProgressDialog, HiliteViaAIProgressDialog, ListPropertiesDialog, MultiGroupDialog, MultiSortDialog, Portlet, PrintWindow, TourWindow, Window

public interface HasCloseClickHandlers extends HasHandlers
  • Method Details

    • addCloseClickHandler

      HandlerRegistration addCloseClickHandler(CloseClickHandler handler)
      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:
      handler - the closeClick handler
      Returns:
      HandlerRegistration used to remove this handler