| |
|
| java.lang.Object com.gwtext.client.core.JsObject com.gwtext.client.data.Tree
Tree | public class Tree extends JsObject (Code) | | Represents a tree data structure and bubbles all the events for its nodes. The nodes in the tree have most standard
DOM functionality.
|
Constructor Summary | |
public | Tree() Create a new Tree instance. | | Tree(JavaScriptObject jsObj) |
Tree | public Tree()(Code) | | Create a new Tree instance.
|
Tree | Tree(JavaScriptObject jsObj)(Code) | | |
addNodeListener | native public void addNodeListener(TreeListener listener)(Code) | | Add a Tree listener.
Parameters: listener - the listener |
getNodeById | public Node getNodeById(String id)(Code) | | Gets a node in this tree by its id.
Parameters: id - the mode ID the node, or null if not found |
getRootNode | public Node getRootNode()(Code) | | Returns the root node.
the root node |
setRootNode | native public void setRootNode(Node node)(Code) | | Set the root node.
Parameters: node - the root node |
Fields inherited from com.gwtext.client.core.JsObject | protected JavaScriptObject jsObj(Code)(Java Doc)
|
|
|
|