Class PrettyPrintTree
-
- All Implemented Interfaces:
public final class PrettyPrintTreeUtility class to create a pretty-printed ASCII tree of arbitrary nodes that can be printed to the console. You can build the tree out of any tree structure, just fill in this node name and its children.
To create a pretty tree dump of a Vaadin component, just use ofVaadin.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPrettyPrintTree.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final List<PrettyPrintTree>childrenpublic final static PrettyPrintTree.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description PrettyPrintTree(String name, List<PrettyPrintTree> children)
-
Method Summary
Modifier and Type Method Description final StringgetName()final List<PrettyPrintTree>getChildren()final Stringprint()-
-
Constructor Detail
-
PrettyPrintTree
PrettyPrintTree(String name, List<PrettyPrintTree> children)
-
-
Method Detail
-
getChildren
final List<PrettyPrintTree> getChildren()
-
-
-
-