Package eu.bandm.tools.format
Class Format.Forester
java.lang.Object
eu.bandm.tools.util.SwingForester
eu.bandm.tools.format.Format.Forester
- Enclosing class:
- Format
Swing tree Generation is for debugging purposes.
This class is only used by static debugging method
Format.showSwingTree(Format, String, boolean)
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.util.SwingForester
SwingForester.LazyNode, SwingForester.Leaf, SwingForester.TreeProxy
-
Field Summary
Fields inherited from class eu.bandm.tools.util.SwingForester
separatorProperty
-
Constructor Summary
-
Method Summary
Methods inherited from class eu.bandm.tools.util.SwingForester
getHTML, growRoot, setHTML
-
Constructor Details
-
Forester
public Forester()
-
-
Method Details
-
createNode
-
growBranch
Description copied from class:SwingForester
Generate representation for oen single object. Derived class must differentiated whether the type of the object shall be displayed as a subtree. In this case it will call return the result of one ofSwingForester.growCollection(String,TreeNode,String,Collection)
,SwingForester.growMap(TreeNode,String,Map)
, orSwingForester.growMultimap(TreeNode,String,Multimap)
. Otherwise it simply returns null, and a graphic leaf node will be generated by the caller =SwingForester.grow(@eu.bandm.tools.annotations.Opt javax.swing.tree.TreeNode,@eu.bandm.tools.annotations.Opt java.lang.String,java.lang.Object)
..- Specified by:
growBranch
in classSwingForester
- Parameters:
parent
- the tree node under which the new node will be placedlabel
- the visible label textsource
- the object to display, often simply a boxed primitiv value.
-