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

# Interface HasNodeClickHandlers

All Superinterfaces:
  `HasHandlers`

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

public interface HasNodeClickHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addNodeClickHandler(NodeClickHandler handler)`
  This method is called when a leaf or folder record is clicked on.

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

  `fireEvent`

- ## Method Details

  - ### addNodeClickHandler

    HandlerRegistration addNodeClickHandler(NodeClickHandler handler)
    This method is called when a leaf or folder record is clicked on. Note that if you set up a callback for `nodeClick()` and e.g. `TreeGrid.leafClick()`, then both will fire (in that order) if a leaf is clicked on.
    Parameters:
      `handler` - the nodeClick handler
    Returns:
      `HandlerRegistration` used to remove this handler