Package com.smartgwt.client.widgets.tree.events

# Interface HasNodeContextClickHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `EditTree`, `TreeGrid`, `TreePalette`

public interface HasNodeContextClickHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addNodeContextClickHandler(NodeContextClickHandler handler)`
  This method is called when a context click occurs on a leaf or folder record.

  ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

  `fireEvent`

- ## Method Details

  - ### addNodeContextClickHandler

    HandlerRegistration addNodeContextClickHandler(NodeContextClickHandler handler)
    This method is called when a context click occurs on a leaf or folder record. Note that if you set up a callback for `nodeContextClick()` and e.g. `TreeGrid.leafContextClick()`, then both will fire (in that order) if a leaf is contextclicked - unless `nodeContextClick()` returns false, in which case no further contextClick callbacks will be called.
    Parameters:
      `handler` - the nodeContextClick handler
    Returns:
      `HandlerRegistration` used to remove this handler