com.sencha.gxt.data.shared
Interface TreeStore.TreeNode<T>

Type Parameters:
T - type of data wrapped by this node
Enclosing class:
TreeStore<M>

public static interface TreeStore.TreeNode<T>

Simple interface to allow data to be imported/exported from a TreeStore, complete with the structure of the tree.


Method Summary
 List<? extends TreeStore.TreeNode<T>> getChildren()
          Gets the list of child nodes.
 T getData()
          Gets the data represented by this node.
 

Method Detail

getChildren

List<? extends TreeStore.TreeNode<T>> getChildren()
Gets the list of child nodes. The data in each node can be modified, but will not automatically fire store events. Note: Some implementations may make this list immutable, such as those provided by TreeStore.getSubTree(Object).

Returns:
the list of child nodes

getData

T getData()
Gets the data represented by this node.

Returns:
the data represented by this node


Copyright © 2012. All Rights Reserved.