public interface DataTreeNode extends MutableTreeNode
Modifier and Type | Method and Description |
---|---|
boolean |
containsData(Object data)
Checks if this DataTreeNode contains the specified data.
|
DataTreeNode |
getChildDataTreeNode(Object data)
Find the DataTreeNode for the specified data.
|
Object |
getData() |
DataTreeNode |
getNewTreeNode(Object forObject) |
void |
rebuildTree()
The data for the DataTreeNode must already be set before calling this.
|
addChild, insertChild, removeChild, setParent
canExpand, collapse, expand, getChild, getChildCount, getChildren, getParent, indexOfChild, isLeaf
Object getData()
boolean containsData(Object data)
data
- the data to check.void rebuildTree()
DataTreeNode getChildDataTreeNode(Object data)
data
- the data to look for.DataTreeNode getNewTreeNode(Object forObject)