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
-
Method Summary
Modifier and TypeMethodDescriptionaddCloseClickHandler
(CloseClickHandler handler) Handles a click on the close button of this window.Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
-
Method Details
-
addCloseClickHandler
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:
handler
- the closeClick handler- Returns:
HandlerRegistration
used to remove this handler
-