|
www.sdmetrics.com | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--sdmetrics.app.TreeViewCycles.Node
Class to represent a node in a "cycle" tree.
| Constructor Summary | |
TreeViewCycles.Node(java.lang.String s)
|
|
| Method Summary | |
void |
add(java.lang.Object o)
Add a child node to the node. |
java.lang.Object |
getChildAt(int index)
Get a child node of this node. |
int |
getChildCount()
Get the number of children of the node. |
int |
getIndexOfChild(java.lang.Object o)
Get the index for a child node of this node. |
boolean |
hasCycle()
Test if this node is part of a cycle. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TreeViewCycles.Node(java.lang.String s)
s - String label for the node (the model element name).| Method Detail |
public boolean hasCycle()
true if the node is part of a cycle, else false.public java.lang.String toString()
toString in class java.lang.Objectpublic void add(java.lang.Object o)
o - Child not to add.public int getChildCount()
public java.lang.Object getChildAt(int index)
index - Index of the child node.
public int getIndexOfChild(java.lang.Object o)
o - The object representing the requested child node.
|
www.sdmetrics.com | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||