com.smartgwt.client.widgets.menu.events
Interface HasItemClickHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
Menu

public interface HasItemClickHandlers
extends HasHandlers


Method Summary
 HandlerRegistration addItemClickHandler(ItemClickHandler handler)
          Executed when a menu item with no click handler is clicked by the user.
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

addItemClickHandler

HandlerRegistration addItemClickHandler(ItemClickHandler handler)
Executed when a menu item with no click handler is clicked by the user. This itemClick handler must be specified as a function. It is passed an item parameter that is a reference to the clicked menu item.

Parameters:
handler - the itemClick handler
Returns:
HandlerRegistration used to remove this handler