public interface ElementListRenderer
ElementList
objects to render the values associated
to child elements.ElementList.setElementListRenderer(ElementListRenderer)
,
ElementGroupManager.createDefaultElementListRenderer()
Modifier and Type | Method and Description |
---|---|
void |
renderList(ElementList list,
int index,
java.lang.Object value,
org.w3c.dom.Element contentElem,
boolean isNew)
Renders as markup the specified value into the specified child element of the list.
|
void |
unrenderList(ElementList list,
int index,
org.w3c.dom.Element contentElem)
Unrenders the markup of the specified list item.
|
void renderList(ElementList list, int index, java.lang.Object value, org.w3c.dom.Element contentElem, boolean isNew)
The content element must be used to render below the value, usually as a text node.
Default implementation renders the specified value inside the first text node found below the specified content element.
list
- the target list.index
- the child element position.value
- the value to render.contentElem
- the content element. This element
is a hint, if provided, should be obtained by calling ElementListStructure.getContentElement(ElementList,int,Element)
.isNew
- true if this is the first time the markup is rendered. Default implementation ignores this parameter.void unrenderList(ElementList list, int index, org.w3c.dom.Element contentElem)
Default implementation does nothing.
list
- the target list.index
- the child element position.contentElem
- the content element. This element
is a hint, if provided, should be obtained by calling ElementListStructure.getContentElement(ElementList,int,Element)
.Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.