|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.huguesjohnson.tiamat.TreeNode
com.huguesjohnson.tiamat.NamedObjectTreeNode
public class NamedObjectTreeNode
NamedObjectTreeNode - implementation of a TreeNode that stored NamedObjects
| Field Summary |
|---|
| Fields inherited from class com.huguesjohnson.tiamat.TreeNode |
|---|
DEFAULT_PATH_DELIMITER |
| Constructor Summary | |
|---|---|
NamedObjectTreeNode(NamedObject namedObject)
Create new instance of NamedObjectTreeNode, uses TreeNode.DEFAULT_PATH_DELIMITER. |
|
NamedObjectTreeNode(NamedObject namedObject,
NamedObjectTreeNode parent)
Create new instance of NamedObjectTreeNode, uses TreeNode.DEFAULT_PATH_DELIMITER. |
|
NamedObjectTreeNode(NamedObject namedObject,
java.lang.String pathDelimiter)
Create new instance of NamedObjectTreeNode. |
|
NamedObjectTreeNode(NamedObject namedObject,
java.lang.String pathDelimiter,
NamedObjectTreeNode parent)
Create new instance of NamedObjectTreeNode. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of this TreeNode. |
void |
setName(java.lang.String name)
Sets the name of this TreeNode. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class com.huguesjohnson.tiamat.TreeNode |
|---|
addChild, getChild, getChildLeafCount, getChildLeaves, getChildNode, getChildNodeCount, getChildren, getObject, getParent, getPath, getPathDelimiter, insertChildNode, isLeaf, isRoot, onDeserialize, removeChildNode, setChild, setChildren, setObject, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NamedObjectTreeNode(NamedObject namedObject)
namedObject - The NamedObject stored in TreeNode.
public NamedObjectTreeNode(NamedObject namedObject,
java.lang.String pathDelimiter)
namedObject - The NamedObject stored in TreeNode.pathDelimiter - The path delimiter to use.
public NamedObjectTreeNode(NamedObject namedObject,
NamedObjectTreeNode parent)
namedObject - The NamedObject stored in TreeNode.parent - The parent to this TreeNode.
public NamedObjectTreeNode(NamedObject namedObject,
java.lang.String pathDelimiter,
NamedObjectTreeNode parent)
namedObject - The NamedObject stored in TreeNode.parent - The parent to this TreeNode.pathDelimiter - The path delimiter to use.| Method Detail |
|---|
public java.lang.String getName()
TreeNode
getName in class TreeNodepublic void setName(java.lang.String name)
TreeNode
setName in class TreeNodename - The new name of this TreeNode.public java.lang.String toString()
toString in class TreeNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||