Package jaxx.runtime.awt.visitor
Class DebugComponentTreeNodeVisitor
java.lang.Object
jaxx.runtime.awt.visitor.DebugComponentTreeNodeVisitor
- All Implemented Interfaces:
ComponentTreeNodeVisitor
public class DebugComponentTreeNodeVisitor extends java.lang.Object implements ComponentTreeNodeVisitor
To print a tree node.
Created on 1/10/14.
- Since:
- 2.7
- Author:
- Tony Chemit - chemit@codelutin.com
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DebugComponentTreeNodeVisitor() -
Method Summary
Modifier and Type Method Description voidendNode(ComponentTreeNode componentTree)java.lang.StringgetMessage(ComponentTreeNode componentTree)voidparse(ComponentTreeNode componentTree)voidsetDebug(boolean debug)voidstartNode(ComponentTreeNode componentTree)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
debug
protected boolean debugFlag to log in debug level (otherwise will be in info level). -
level
protected int level -
sb
protected java.lang.StringBuilder sb
-
-
Constructor Details
-
DebugComponentTreeNodeVisitor
public DebugComponentTreeNodeVisitor()
-
-
Method Details
-
parse
-
startNode
- Specified by:
startNodein interfaceComponentTreeNodeVisitor
-
endNode
- Specified by:
endNodein interfaceComponentTreeNodeVisitor
-
setDebug
public void setDebug(boolean debug) -
getMessage
-