public class IlrDefaultTreeNode extends java.lang.Object implements IlrTreeNode, java.io.Serializable
IlrTreeNode class.
IlrTreeNode,
Serialized Form| Constructor and Description |
|---|
IlrDefaultTreeNode(IlrTreeNode parent,
java.lang.String label)
Creates a node with a label and attaches it to a parent node.
|
IlrDefaultTreeNode(java.lang.String id,
IlrTreeNode parent,
java.lang.String label)
Creates a node with an unique identifier and a label.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getClientData()
Returns the client data of a node.
|
java.lang.String |
getId()
Returns the ID of a node.
|
java.lang.String |
getLabel()
Returns the label of a node.
|
IlrTreeNode |
getParent()
Returns the parent of a node.
|
void |
setClientData(java.lang.Object clientData)
Sets the client data of a node.
|
public IlrDefaultTreeNode(IlrTreeNode parent, java.lang.String label)
parent - The parent.label - The label.public IlrDefaultTreeNode(java.lang.String id,
IlrTreeNode parent,
java.lang.String label)
The node is attached to a parent node.
id - A unique Id.parent - The parent.label - The label.public java.lang.String getId()
IlrTreeNodegetId in interface IlrTreeNodepublic java.lang.String getLabel()
IlrTreeNodegetLabel in interface IlrTreeNodepublic IlrTreeNode getParent()
IlrTreeNodegetParent in interface IlrTreeNodepublic java.lang.Object getClientData()
IlrTreeNodegetClientData in interface IlrTreeNodepublic void setClientData(java.lang.Object clientData)
IlrTreeNodesetClientData in interface IlrTreeNodeclientData - The client data.© Copyright IBM Corp. 1987, 2017