public interface HasClickHandlers extends HasHandlers
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addClickHandler(ClickHandler handler)
Executed when this menu item is clicked by the user.
|
fireEvent
HandlerRegistration addClickHandler(ClickHandler handler)
com.smartgwt.client.widgets.menu.events.MenuItemClickEvent#cancel()
from within ClickHandler.onClick(com.smartgwt.client.widgets.menu.events.MenuItemClickEvent)
to suppress the Menu.itemClick()
handler if specified.handler
- the click handlerHandlerRegistration
used to remove this handler