public interface ElementTableRenderer
ElementTable
objects to render the values associated
to cell elements.ElementTable.setElementTableRenderer(ElementTableRenderer)
,
ElementGroupManager.createDefaultElementTableRenderer()
Modifier and Type | Method and Description |
---|---|
void |
renderTable(ElementTable table,
int row,
int col,
java.lang.Object value,
org.w3c.dom.Element cellContentElem,
boolean isNew)
Renders as markup the specified value into the specified cell element.
|
void |
unrenderTable(ElementTable table,
int row,
int col,
org.w3c.dom.Element cellContentElem)
Unrenders the markup of the specified table cell.
|
void renderTable(ElementTable table, int row, int col, java.lang.Object value, org.w3c.dom.Element cellContentElem, boolean isNew)
The cell 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 cell content element.
table
- the target table.row
- the row position.col
- the column position.value
- the value to render.cellContentElem
- the cell content element. This element
is a hint, if provided, should be obtained by calling ElementTableStructure.getCellContentElement(ElementTable,int,int,Element)
.isNew
- true if this is the first time the markup is rendered. Default implementation ignores this parameter.void unrenderTable(ElementTable table, int row, int col, org.w3c.dom.Element cellContentElem)
Default implementation does nothing.
table
- the target table.row
- the row position.col
- the column position.cellContentElem
- the cell content element. This element
is a hint, if provided, should be obtained by calling ElementTableStructure.getCellContentElement(ElementTable,int,int,Element)
.Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.