| org.itsnat.comp.ItsNatLabelRenderer
All known Subclasses: org.itsnat.impl.comp.ItsNatLabelRendererDefaultImpl, org.itsnat.feashow.features.components.labels.PersonCustomLabelRenderer,
renderLabel | public void renderLabel(ItsNatLabel label, Object value, Element labelElem, boolean isNew)(Code) | | Renders as markup the specified value into the specified element, usually
as a text node.
Default implementation delegates to the default
org.itsnat.core.domutil.ElementRenderer .
Parameters: label - the label component, may be used to provide contextual information. Default implementation ignores it. 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 ItsNatLabel.getElement. Parameters: isNew - true if this is the first time the markup is rendered. Default implementation ignores this parameter. |
unrenderLabel | public void unrenderLabel(ItsNatLabel label, Element labelElem)(Code) | | Unrenders the label markup. This method is called before the markup
is removed.
Default implementation does nothing.
Parameters: label - the label component, may be used to provide contextual information. Default implementation ignores it. Parameters: labelElem - the label element to render the value into. Is a hint, if provided should be obtained by calling ItsNatLabel.getElement. |
|
|