Package eu.bandm.tscore.model
Class __TREEGEN__
java.lang.Object
eu.bandm.tools.graficUtils.SwingForester
eu.bandm.tscore.model.__TREEGEN__
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.graficUtils.SwingForester
SwingForester.LazyNode, SwingForester.Leaf, SwingForester.TreeProxy
-
Field Summary
Fields inherited from class eu.bandm.tools.graficUtils.SwingForester
separatorProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected TreeNode
createNode
(TreeNode parent, String label, Object source) protected TreeNode
growBranch
(TreeNode parent, String label, Object source) Generate representation for oen single object.Methods inherited from class eu.bandm.tools.graficUtils.SwingForester
getHTML, growRoot, setHTML
-
Constructor Details
-
__TREEGEN__
public __TREEGEN__()
-
-
Method Details
-
createNode
-
growBranch
Description copied from class:eu.bandm.tools.graficUtils.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.
-