com.smartgwt.client.widgets.events

## Interface HasIconClickHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers
  All Known Implementing Classes:
    Button, IButton, IconButton, IconMenuButton, IMenuButton, ImgTab, Label, MenuButton, NavigationButton, SectionHeader, StretchImgButton, ToolStripButton, ToolStripMenuButton, TreeMenuButton, ViewLoader

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

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.HandlerRegistration` | `addIconClickHandler(IconClickHandler handler)` If this button is showing an `icon`, a separate click handler for the icon may be defined as `this.iconClick`.

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

      `fireEvent`

- - ### Method Detail

    - #### addIconClickHandler

          com.google.gwt.event.shared.HandlerRegistration addIconClickHandler(IconClickHandler handler)

      If this button is showing an `icon`, a separate click handler for the icon may be defined as `this.iconClick`. Returning false will suppress the standard button click handling code.
      Parameters:
        `handler` - the iconClick handler
      Returns:
        `HandlerRegistration` used to remove this handler