com.gwtext.client.widgets.tree.event
Interface TreeLoaderListener

All Known Implementing Classes:
TreeLoaderListenerAdapter

public interface TreeLoaderListener


Method Summary
 boolean doBeforeLoad(TreeLoader self, TreeNode node)
          Fires before a network request is made to retrieve the Json text which specifies a node's children.
 void onLoad(TreeLoader self, TreeNode node, java.lang.String response)
          Fires when the node has been successfuly loaded.
 void onLoadException(TreeLoader self, TreeNode node, java.lang.String response)
          Fires if the network request failed.
 

Method Detail

doBeforeLoad

boolean doBeforeLoad(TreeLoader self,
                     TreeNode node)
Fires before a network request is made to retrieve the Json text which specifies a node's children.

Parameters:
self - this
node - the node
Returns:
false to cancel

onLoad

void onLoad(TreeLoader self,
            TreeNode node,
            java.lang.String response)
Fires when the node has been successfuly loaded.

Parameters:
self - this
node - the node
response - the response text containing the data from the server

onLoadException

void onLoadException(TreeLoader self,
                     TreeNode node,
                     java.lang.String response)
Fires if the network request failed.

Parameters:
self - this
node - the node
response - the response containing the data from the server