|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.problets.lib.conceptmap.model.TreeModel
public class TreeModel
The TreeModel holds the trees.
| Constructor Summary | |
|---|---|
TreeModel(java.util.Vector contents)
Create a TreeModel object using the data in vector format as argument. |
|
| Method Summary | |
|---|---|
java.util.Vector |
getModelVector()
Returns the structure of the tree in a vector of strings format. |
NodeModel |
getRoot()
Returns the root of the tree model. |
static void |
main(java.lang.String[] args)
|
void |
print()
Recursively outputs all node names to the debug console. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeModel(java.util.Vector contents)
| Method Detail |
|---|
public NodeModel getRoot()
public java.util.Vector getModelVector()
public void print()
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||