com.smartgwt.client.widgets.events

## Interface HasOkClickHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers

      public interface HasOkClickHandlers
      extends com.google.gwt.event.shared.HasHandlers

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.HandlerRegistration` | `addOkClickHandler(OkClickHandler handler)` Handle a click on the 'ok' button of this Dialog.

    - ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

      `fireEvent`

- - ### Method Detail

    - #### addOkClickHandler

          com.google.gwt.event.shared.HandlerRegistration addOkClickHandler(OkClickHandler handler)

      Handle a click on the 'ok' button of this Dialog. Default implementation is to call `saveData()`, hide the Dialog, then return `true`. Override to do something else.
      Parameters:
        `handler` - the okClick handler
      Returns:
        `HandlerRegistration` used to remove this handler