| org.itsnat.core.domutil.ElementTreeNodeRenderer
All known Subclasses: org.itsnat.impl.core.domutil.ElementTreeNodeRendererDefaultImpl,
Method Summary | |
public void | renderTreeNode(ElementTreeNode treeNode, Object value, Element labelElem, boolean isNew) Renders as markup the specified value into the specified tree node.
Default implementation renders the specified value inside the first text node found below the
label element.
Parameters: treeNode - the target tree node. Parameters: value - the value to render. Parameters: labelElem - the label element to render the value into. | public void | unrenderTreeNode(ElementTreeNode treeNode, Element labelElem) Unrenders the markup of the specified tree node. |
renderTreeNode | public void renderTreeNode(ElementTreeNode treeNode, Object value, Element labelElem, boolean isNew)(Code) | | Renders as markup the specified value into the specified tree node.
Default implementation renders the specified value inside the first text node found below the
label element.
Parameters: treeNode - the target tree node. Parameters: value - the value to render. Parameters: labelElem - the label element to render the value into. Is a hint, if provided should be obtained by calling ElementTreeNode.getLabelElement. Parameters: isNew - true if this is the first time the markup is rendered. Default implementation ignores this parameter. |
unrenderTreeNode | public void unrenderTreeNode(ElementTreeNode treeNode, Element labelElem)(Code) | | Unrenders the markup of the specified tree node. This method is called before the markup
is removed.
Default implementation does nothing.
Parameters: treeNode - the target tree node. Parameters: labelElem - the label element to render the value into. Is a hint, if provided should be obtained by calling ElementTreeNode.getLabelElement. |
|
|