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 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