com.gwtext.client.widgets.tree
Class TreeSorter

java.lang.Object
  extended by com.gwtext.client.core.JsObject
      extended by com.gwtext.client.widgets.tree.TreeSorter

public class TreeSorter
extends JsObject

Helper class to enable tree node sorting functionality.


Field Summary
 
Fields inherited from class com.gwtext.client.core.JsObject
jsObj
 
Constructor Summary
TreeSorter(TreePanel treePanel, TreeSorterConfig config)
          Construct a new TreeSorter.
 
Method Summary
 void sort(TreeNode startNode)
          Sort the TreePanel starting from the specified node.
 
Methods inherited from class com.gwtext.client.core.JsObject
getJsObj, getProperties, isCreated, setJsObj
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeSorter

public TreeSorter(TreePanel treePanel,
                  TreeSorterConfig config)
Construct a new TreeSorter.

Parameters:
treePanel - the tree panel to sort
config - the TreeSorter config
Method Detail

sort

public void sort(TreeNode startNode)
Sort the TreePanel starting from the specified node.

Parameters:
startNode - the start node