public class TextTree extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
isShowRoot() |
void |
printTree()
Prints this tree to
System.out. |
void |
printTree(PrintStream printStream)
Prints this tree to the given stream.
|
void |
setShowRoot(boolean showRoot)
Sets wether to show the root node or not.
|
String |
toString() |
public TextTree(TreeModel model)
public boolean isShowRoot()
true if this tree is set to show the root.public void setShowRoot(boolean showRoot)
showRoot - public void printTree()
System.out.public void printTree(PrintStream printStream)
printStream - Copyright © 2017. All rights reserved.