com.smartgwt.client.widgets.events
Interface HasCloseClickHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
ColorPicker, Dialog, Window

public interface HasCloseClickHandlers
extends HasHandlers


Method Summary
 HandlerRegistration addCloseClickHandler(CloseClickHandler handler)
          Handles a click on the close button of this window.
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

addCloseClickHandler

HandlerRegistration addCloseClickHandler(CloseClickHandler handler)
Handles a click on the close button of this window. The default implementation hides the window and returns false to cancel bubbling. Override this method if you want other actions to be taken.

Parameters:
handler - the closeClick handler
Returns:
HandlerRegistration used to remove this handler