|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gwtext.client.core.JsObject com.gwtext.client.data.Tree
public class Tree
Represents a tree data structure and bubbles all the events for its nodes. The nodes in the tree have most standard DOM functionality.
Field Summary |
---|
Fields inherited from class com.gwtext.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
Tree()
Create a new Tree instance. |
Method Summary | |
---|---|
void |
addNodeListener(TreeListener listener)
Add a Tree listener. |
Node |
getNodeById(java.lang.String id)
Gets a node in this tree by its id. |
Node |
getRootNode()
Returns the root node. |
void |
setRootNode(Node node)
Set the root 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 |
---|
public Tree()
Method Detail |
---|
public Node getNodeById(java.lang.String id)
id
- the mode ID
public Node getRootNode()
public void setRootNode(Node node)
node
- the root nodepublic void addNodeListener(TreeListener listener)
listener
- the listener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |