|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ItsNatLabelRenderer
Is used to render label values as markup into DOM elements.
ItsNatComponentManager.createDefaultItsNatLabelRenderer(),
ItsNatLabel.getItsNatLabelRenderer(),
ItsNatLabel.setItsNatLabelRenderer(ItsNatLabelRenderer)| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||