public interface HasClickHandlers
extends com.google.gwt.event.shared.HasHandlers
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addClickHandler(ClickHandler handler)
Executed when this menu item is clicked by the user.
|
com.google.gwt.event.shared.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