T
- the type of data associated with the tree nodepublic class CmsTreeNode<T> extends java.lang.Object
Constructor and Description |
---|
CmsTreeNode() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(CmsTreeNode<T> cmsTreeNode)
Adds a child node.
|
java.util.List<CmsTreeNode<T>> |
getChildren()
Gets the (mutable) list of child nodes.
|
T |
getData()
Gets the data associated with this node.
|
void |
setData(T data)
Sets the data for this node.
|
public CmsTreeNode()
public void addChild(CmsTreeNode<T> cmsTreeNode)
cmsTreeNode
- the child node to addpublic java.util.List<CmsTreeNode<T>> getChildren()