com.smartgwt.client.widgets.events

## Interface HasOkClickHandlers

- All Superinterfaces:
    HasHandlers

      public interface HasOkClickHandlers
      extends HasHandlers

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

          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