com.smartgwt.client.widgets.tree.events
Interface HasNodeClickHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
TreeGrid

public interface HasNodeClickHandlers
extends HasHandlers


Method Summary
 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 Detail

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.addLeafClickHandler(com.smartgwt.client.widgets.tree.events.LeafClickHandler), 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