Package org.openiam.base
Class TreeNode<Bean extends KeyDTO>
- java.lang.Object
-
- org.openiam.base.TreeNode<Bean>
-
- All Implemented Interfaces:
Serializable
public class TreeNode<Bean extends KeyDTO> extends Object implements Serializable
Created by: Alexander Duckardt Date: 12/31/13.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(List<TreeNode<Bean>> children)
void
add(TreeNode child)
void
add(TreeNode child, int index)
void
bubleChildrenNodes()
void
bubleNode()
int
getDepth()
int
getIndex()
void
hideChildren()
boolean
isLeaf()
boolean
isRoot()
TreeNode
remove(int index)
TreeNode
remove(TreeNode node)
-
-
-
Method Detail
-
add
public void add(TreeNode child)
-
add
public void add(TreeNode child, int index)
-
remove
public TreeNode remove(int index)
-
bubleNode
public void bubleNode()
-
bubleChildrenNodes
public void bubleChildrenNodes()
-
getIndex
public int getIndex()
-
getDepth
public int getDepth()
-
isRoot
public boolean isRoot()
-
isLeaf
public boolean isLeaf()
-
hideChildren
public void hideChildren()
-
-