Package hu.webarticum.treeprinter
Class SimpleTreeNode
- java.lang.Object
-
- hu.webarticum.treeprinter.AbstractTreeNode
-
- hu.webarticum.treeprinter.SimpleTreeNode
-
- All Implemented Interfaces:
TreeNode
public class SimpleTreeNode extends AbstractTreeNode
-
-
Constructor Summary
Constructors Constructor Description SimpleTreeNode(java.lang.String content)SimpleTreeNode(java.lang.String content, int... insets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(TreeNode childNode)java.util.List<TreeNode>getChildren()java.lang.StringgetContent()int[]getInsets()-
Methods inherited from class hu.webarticum.treeprinter.AbstractTreeNode
equals, getOriginalNode, hashCode, isDecorable, toString
-
-
-
-
Field Detail
-
content
protected final java.lang.String content
-
insets
protected final int[] insets
-
children
protected java.util.List<TreeNode> children
-
-