public interface ItsNatLabelRenderer
ItsNatComponentManager.createDefaultItsNatLabelRenderer()
,
ItsNatLabel.getItsNatLabelRenderer()
,
ItsNatLabel.setItsNatLabelRenderer(ItsNatLabelRenderer)
Modifier and Type | Method and Description |
---|---|
void |
renderLabel(ItsNatLabel label,
java.lang.Object value,
org.w3c.dom.Element labelElem,
boolean isNew)
Renders as markup the specified value into the specified element, usually
as a text node.
|
void |
unrenderLabel(ItsNatLabel label,
org.w3c.dom.Element labelElem)
Unrenders the label markup.
|
void renderLabel(ItsNatLabel label, java.lang.Object value, org.w3c.dom.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, org.w3c.dom.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 © 2007 Innowhere Software Services S.L. All Rights Reserved.