|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.teamserver.web.tree.impl.IlrDefaultTreeNode ilog.rules.teamserver.web.tree.impl.IlrPreLoadedTreeNode
public class IlrPreLoadedTreeNode
Represents a node managed by instances of IlrPreLoadedDataProvider
.
IlrPreLoadedDataProvider
,
Serialized Form
Constructor Summary | |
---|---|
IlrPreLoadedTreeNode(IlrPreLoadedTreeNode parent,
String label)
Creates a node with a label and attaches it to a parent node. |
|
IlrPreLoadedTreeNode(String id,
IlrPreLoadedTreeNode parent,
String label)
Creates a node with an unique identifier and a label. |
Method Summary | |
---|---|
void |
addChild(IlrPreLoadedTreeNode child)
Adds the child at the end of the list of children. |
IlrPreLoadedTreeNode |
getChildAt(int index)
Returns the child at a specific index. |
int |
getChildCount()
Returns the number of children. |
List<IlrPreLoadedTreeNode> |
getChildren()
Returns a list of children. |
boolean |
hasChildren()
Tests if this node has children. |
void |
removeChild(IlrPreLoadedTreeNode child)
Removes a child from the list of children. |
Methods inherited from class ilog.rules.teamserver.web.tree.impl.IlrDefaultTreeNode |
---|
getClientData, getId, getLabel, getParent, setClientData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrPreLoadedTreeNode(IlrPreLoadedTreeNode parent, String label)
parent
- The parent.label
- The label.public IlrPreLoadedTreeNode(String id, IlrPreLoadedTreeNode parent, String label)
id
- A unique Id.parent
- The parent.label
- The label.Method Detail |
---|
public boolean hasChildren()
true
if this node has children.public List<IlrPreLoadedTreeNode> getChildren()
public int getChildCount()
public IlrPreLoadedTreeNode getChildAt(int index)
index
- The index of the child to return.
index
.public void addChild(IlrPreLoadedTreeNode child)
child
- The child to add.public void removeChild(IlrPreLoadedTreeNode child)
child
- The child to remove.
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |