| org.itsnat.core.domutil.ElementTableStructure
All known Subclasses: org.itsnat.impl.comp.ui.ItsNatTableStructureCoreAdapterImpl, org.itsnat.impl.core.domutil.ElementTableStructureDefaultImpl,
Method Summary | |
public Element | getCellContentElement(ElementTable table, int row, int col, Element cellElem) Returns the content element of a cell.
The cell content element is the parent element containing the markup of the associated
value usually a text node. | public Element | getRowContentElement(ElementTable table, int row, Element rowElem) Returns the content element of a row.
A row content element is the direct parent element of the row cells.
This element is used to access the row cells.
Parameters: table - the target table, may be used to provide contextual information. |
getCellContentElement | public Element getCellContentElement(ElementTable table, int row, int col, Element cellElem)(Code) | | Returns the content element of a cell.
The cell 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
ElementTableRenderer.renderTable(ElementTableintintObjectElementboolean) .
Parameters: table - the target table, may be used to provide contextual information. Default implementation ignores it. Parameters: row - index of the row. Parameters: col - index of the column. Parameters: cellElem - the element containing the cell (cell element).This element is a hint, if provided, should be the same as returned by table.getCellElementAt(row,col) . the cell content element. Default implementation returns cellElem . |
getRowContentElement | public Element getRowContentElement(ElementTable table, int row, Element rowElem)(Code) | | Returns the content element of a row.
A row content element is the direct parent element of the row cells.
This element is used to access the row cells.
Parameters: table - the target table, may be used to provide contextual information. Default implementation ignores it. Parameters: row - index of the row. Parameters: rowElem - the element containing the row (row element).This element is a hint, if provided, should be the same as returned by table.getRowElementAt(index) . the row content element. Default implementation returns rowElem . See Also: ElementTableRenderer.renderTable(ElementTableintintObjectElementboolean) |
|
|