net.databinder.components.tree.data
Interface DataTreeObject<T>

Type Parameters:
T - the concrete type this tree node is representing

public interface DataTreeObject<T>

Classes used as the concrete type of a DataTree, i.e., the type of objects being represented by the tree nodes, must implement this interface.

Author:
Thomas Kappler

Method Summary
 void addChild(T child)
          Add new child node
 java.util.Collection<T> getChildren()
           
 T getParent()
           
 

Method Detail

getChildren

java.util.Collection<T> getChildren()
Returns:
the children of this tree node

addChild

void addChild(T child)
Add new child node


getParent

T getParent()
Returns:
the parent of this tree node


Copyright © 2005-2008 Nathan Hamblen. All Rights Reserved.