public interface ElementTreeNodeRenderer
ElementTreeNode
objects to render the value
associated to the tree node.ElementTreeNode.setElementTreeNodeRenderer(ElementTreeNodeRenderer)
,
ElementGroupManager.createDefaultElementTreeNodeRenderer()
Modifier and Type | Method and Description |
---|---|
void |
renderTreeNode(ElementTreeNode treeNode,
java.lang.Object value,
org.w3c.dom.Element labelElem,
boolean isNew)
Renders as markup the specified value into the specified tree node.
|
void |
unrenderTreeNode(ElementTreeNode treeNode,
org.w3c.dom.Element labelElem)
Unrenders the markup of the specified tree node.
|
void renderTreeNode(ElementTreeNode treeNode, java.lang.Object value, org.w3c.dom.Element labelElem, boolean isNew)
Default implementation renders the specified value inside the first text node found below the label element.
treeNode
- the target tree node.value
- the value to render.labelElem
- the label element to render the value into. Is a hint, if provided should be obtained by calling ElementTreeNode.getLabelElement()
.isNew
- true if this is the first time the markup is rendered. Default implementation ignores this parameter.void unrenderTreeNode(ElementTreeNode treeNode, org.w3c.dom.Element labelElem)
Default implementation does nothing.
treeNode
- the target tree node.labelElem
- the label element to render the value into. Is a hint, if provided should be obtained by calling ElementTreeNode.getLabelElement()
.Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.