public interface ItsNatLabelRenderer
ItsNatComponentManager.createDefaultItsNatLabelRenderer(),
ItsNatLabel.getItsNatLabelRenderer(),
ItsNatLabel.setItsNatLabelRenderer(ItsNatLabelRenderer)| Modifier and Type | Method and Description |
|---|---|
void |
renderLabel(ItsNatLabel label,
Object value,
Element labelElem,
boolean isNew)
Renders as markup the specified value into the specified element, usually
as a text node.
|
void |
unrenderLabel(ItsNatLabel label,
Element labelElem)
Unrenders the label markup.
|
void renderLabel(ItsNatLabel label, Object value, Element labelElem, boolean isNew)
Default implementation delegates to the default ElementRenderer.
label - the label component, may be used to provide contextual information. Default implementation ignores it.value - the value to render.labelElem - the label element to render the value into. Is a hint, if provided should be obtained by calling ItsNatElementComponent.getElement().isNew - true if this is the first time the markup is rendered. Default implementation ignores this parameter.void unrenderLabel(ItsNatLabel label, Element labelElem)
Default implementation does nothing.
label - the label component, may be used to provide contextual information. Default implementation ignores it.labelElem - the label element to render the value into. Is a hint, if provided should be obtained by calling ItsNatElementComponent.getElement().Copyright © Innowhere Software, Jose Maria Arranz Santamaria.