Package com.smartgwt.client.widgets.events

# Interface HasIconClickHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `Button`, `IButton`, `IconButton`, `IconMenuButton`, `IMenuButton`, `ImgTab`, `Label`, `MenuButton`, `MiniNavControl`, `NavigationButton`, `RibbonButton`, `RibbonMenuButton`, `SectionHeader`, `StretchImgButton`, `ToolStripButton`, `ToolStripMenuButton`, `TreeMenuButton`, `ViewLoader`

public interface HasIconClickHandlers extends HasHandlers

- ## Method Summary

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

  - ### addIconClickHandler

    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