Package com.smartgwt.client.widgets.menu.events

# Interface HasItemClickHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `Menu`, `MenuPalette`, `SelectionTreeMenu`

public interface HasItemClickHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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 Details

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