Package eu.bandm.tools.formatDiagnosis
Class FormatTree
java.lang.Object
eu.bandm.tools.graficUtils.SwingForester
eu.bandm.tools.formatDiagnosis.FormatTree
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected classSwing tree Generation is for debugging purposes.Nested classes/interfaces inherited from class eu.bandm.tools.graficUtils.SwingForesterSwingForester.LazyNode, SwingForester.Leaf, SwingForester.TreeProxy
- 
Field SummaryFieldsFields inherited from class eu.bandm.tools.graficUtils.SwingForesterSEPARATOR_PROPERTY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected TreeNodecreateNode(TreeNode parent, String label, Object source) growBranch(TreeNode parent, String label, Object source) Generate representation for oen single object.static voidDemo program for the interactive exploration of complex format structures, for debugging etc.static Formatstatic voidshowSwingTree(Format f, String windowname, boolean isHtml) Generate a swing tree representation and display it.Methods inherited from class eu.bandm.tools.graficUtils.SwingForestergetHTML, growRoot, setHTML
- 
Field Details- 
CONTENT_PREFIX_PRINTEDpublic static final int CONTENT_PREFIX_PRINTED- See Also:
 
 
- 
- 
Constructor Details- 
FormatTreepublic FormatTree()
 
- 
- 
Method Details- 
createNode
- 
growBranchDescription copied from class:SwingForesterGenerate 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(javax.swing.tree.@eu.bandm.tools.annotations.Opt TreeNode,java.lang.@eu.bandm.tools.annotations.Opt String,java.lang.Object)..- Specified by:
- growBranchin class- SwingForester
- Parameters:
- parent- the tree node under which the new node will be placed
- label- the visible label text
- source- the object to display, often simply a boxed primitiv value.
 
- 
showSwingTreeGenerate a swing tree representation and display it. This is only for debugging.- Parameters:
- f- the Format to display
- windowname- the Title of the window
- isHtml- if tree labels use html features
 
- 
of
- 
mainDemo program for the interactive exploration of complex format structures, for debugging etc.
 
-