com.smartgwt.client.widgets.menu.events

## Interface ClickHandler

- All Superinterfaces:
    com.google.gwt.event.shared.EventHandler

      public interface ClickHandler
      extends com.google.gwt.event.shared.EventHandler

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onClick(MenuItemClickEvent event)` Executed when this menu item is clicked by the user.

- - ### Method Detail

    - #### onClick

          void onClick(MenuItemClickEvent event)

      Executed when this menu item is clicked by the user. The click handler must be specified as a function or string of script. Call `com.smartgwt.client.widgets.menu.events.MenuItemClickEvent#cancel()` from within `onClick(com.smartgwt.client.widgets.menu.events.MenuItemClickEvent)` to suppress the `Menu.itemClick()` handler if specified.
      Parameters:
        `event` - the event