edu.mayo.bsi.ngsportal.client
Interface CancelableNodeClickHandler

All Superinterfaces:
com.google.gwt.event.shared.EventHandler, com.smartgwt.client.widgets.tree.events.NodeClickHandler

public interface CancelableNodeClickHandler
extends com.smartgwt.client.widgets.tree.events.NodeClickHandler

@author Gregory Dougherty


Method Summary
 void onNodeClick(com.smartgwt.client.widgets.tree.events.NodeClickEvent event, boolean cancel)
          This method is for when a node click needs to be unrolled, because the click called for changes to be saved, and the user cancelled the save process.
 
Methods inherited from interface com.smartgwt.client.widgets.tree.events.NodeClickHandler
onNodeClick
 

Method Detail

onNodeClick

void onNodeClick(com.smartgwt.client.widgets.tree.events.NodeClickEvent event,
                 boolean cancel)
This method is for when a node click needs to be unrolled, because the click called for changes to be saved, and the user cancelled the save process. 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:
event - the event
cancel - True if need to cancel the event, false if event should be processed normally