| org.itsnat.core.domutil.ElementTableRenderer
All known Subclasses: org.itsnat.impl.core.domutil.ElementTableRendererDefaultImpl,
Method Summary | |
public void | renderTable(ElementTable table, int row, int col, Object value, Element cellContentElem, boolean isNew) Renders as markup the specified value into the specified cell element.
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.
Parameters: table - the target table. Parameters: row - the row position. Parameters: col - the column position. Parameters: value - the value to render. Parameters: cellContentElem - the cell content element. | public void | unrenderTable(ElementTable table, int row, int col, Element cellContentElem) Unrenders the markup of the specified table cell. |
renderTable | public void renderTable(ElementTable table, int row, int col, Object value, Element cellContentElem, boolean isNew)(Code) | | Renders as markup the specified value into the specified cell element.
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.
Parameters: table - the target table. Parameters: row - the row position. Parameters: col - the column position. Parameters: value - the value to render. Parameters: cellContentElem - the cell content element. This element is a hint, if provided, should be obtained by calling ElementTableStructure.getCellContentElement(ElementTableintintElement). Parameters: isNew - true if this is the first time the markup is rendered. Default implementation ignores this parameter. |
unrenderTable | public void unrenderTable(ElementTable table, int row, int col, Element cellContentElem)(Code) | | Unrenders the markup of the specified table cell. This method is called before the markup
is removed.
Default implementation does nothing.
Parameters: table - the target table. Parameters: row - the row position. Parameters: col - the column position. Parameters: cellContentElem - the cell content element. This element is a hint, if provided, should be obtained by calling ElementTableStructure.getCellContentElement(ElementTableintintElement). |
|
|