public interface HasIconClickHandlers extends HasHandlers
Modifier and Type | Method and 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 . |
fireEvent
HandlerRegistration addIconClickHandler(IconClickHandler handler)
icon
, a separate click handler
for the icon may be defined as this.iconClick
. Returning false will suppress the standard button click
handling code.handler
- the iconClick handlerHandlerRegistration
used to remove this handler