public class TreeDataBean extends DynamicDataBeanImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Deprecated.
|
protected int | level
Deprecated.
|
protected TreeNodeDataBean | root
Deprecated.
|
Constructor and Description |
---|
TreeDataBean()
Deprecated.
TreeDataBean constructor comment.
|
Modifier and Type | Method and Description |
---|---|
void | copy(DynamicDataBean ds)
Deprecated.
copy method comment.
|
TreeNodeDataBean | getChild(TreeNodeDataBean parent, int index)
Deprecated.
This method will return the child node at index given the parent node
|
int | getChildCount(TreeNodeDataBean parent)
Deprecated.
This method will return the number of children at a given node
|
int | getIndexOfChild(TreeNodeDataBean parent, TreeNodeDataBean child)
Deprecated.
This method will return the index of a particular child given a parent
|
int | getLevel()
Deprecated.
|
TreeNodeDataBean | getRoot()
Deprecated.
This method will return the root node of the tree
|
boolean | isLeaf(TreeNodeDataBean node)
Deprecated.
This method will determine if a particular node is a leaf node
|
void | setLevel(int newValue)
Deprecated.
|
void | setRoot(TreeNodeDataBean root)
Deprecated.
This method will identify a node as the root of the tree
|
public static final java.lang.String COPYRIGHT
protected TreeNodeDataBean root
protected int level
public void copy(DynamicDataBean ds)
public TreeNodeDataBean getChild(TreeNodeDataBean parent, int index)
public int getChildCount(TreeNodeDataBean parent)
public int getIndexOfChild(TreeNodeDataBean parent, TreeNodeDataBean child)
public int getLevel()
public TreeNodeDataBean getRoot()
public boolean isLeaf(TreeNodeDataBean node)
public void setLevel(int newValue)
public void setRoot(TreeNodeDataBean root)