public interface ElementListStructure
ElementList objects to obtain the content parent element of
a child element of the list.ElementList.setElementListStructure(ElementListStructure),
ElementGroupManager.createDefaultElementListStructure()| Modifier and Type | Method and Description |
|---|---|
Element |
getContentElement(ElementList list,
int index,
Element itemElem)
Returns the content element of a child element.
|
Element getContentElement(ElementList list, int index, Element itemElem)
The content element is the parent element containing the markup of the associated
value usually a text node. This element is passed to the renderer method
ElementListRenderer.renderList(ElementList,int,Object,Element,boolean).
Default implementation returns the first <td> child if itemElem
is a <tr> element otherwise returns itemElem.
list - the target list, may be used to provide contextual information. Default implementation ignores it.index - the child element position.itemElem - the direct child element in this position.
This element is a hint, if provided, should be the same as returned by list.getElementAt(index).Copyright © Innowhere Software, Jose Maria Arranz Santamaria.