public interface ItsNatTableUI extends ItsNatElementComponentUI
Table cells are managed as a DOM element table, using the current table structure and renderer.
Current implementation does not use the data model and relays heavily on
ElementTable.
Rows and column indexes are 0 based.
ItsNatTable.getItsNatTableUI(),
ItsNatTable.getItsNatTableCellRenderer(),
ItsNatTable.getItsNatTableStructure(),
ItsNatTableHeaderUI| Modifier and Type | Method and Description |
|---|---|
Element |
getBodyElement()
Returns the element used as parent of the table body.
|
Element |
getCellContentElementAt(int row,
int column)
Returns the content element of the cell.
|
Element |
getCellElementAt(int row,
int column)
Returns the cell element at the specified row and column.
|
Element[] |
getCellElementsOfColumn(int column)
Returns the cell elements of the specified column as an array.
|
Element[] |
getCellElementsOfRow(int row)
Returns the cell elements of the specified row as an array.
|
int |
getColumnCount()
Returns the number of columns.
|
ItsNatTable |
getItsNatTable()
Returns the associated component object.
|
ItsNatTableCellUI |
getItsNatTableCellUIAt(int row,
int column)
Returns an object info of the cell element at the specified row and column.
|
ItsNatTableCellUI |
getItsNatTableCellUIFromNode(Node node)
Returns an object info of the cell element containing the specified node (or the node
is itself an element of the table body).
|
ItsNatTableHeaderUI |
getItsNatTableHeaderUI()
Returns the header user interface manager of this component.
|
Element |
getRowContentElementAt(int row)
Returns the content row element.
|
int |
getRowCount()
Returns the number of rows.
|
Element |
getRowElementAt(int row)
Returns the row element at the specified index.
|
boolean |
isUsePatternMarkupToRender()
Informs whether the original (saved as pattern) markup is used to render.
|
void |
setUsePatternMarkupToRender(boolean value)
Sets whether the original (saved as pattern) markup is used to render.
|
getItsNatElementComponentgetItsNatComponentItsNatTable getItsNatTable()
ItsNatTableHeaderUI getItsNatTableHeaderUI()
int getRowCount()
ElementTableBase.getRowCount()int getColumnCount()
ElementTable.getColumnCount()ItsNatTableCellUI getItsNatTableCellUIAt(int row, int column)
row - row index of the cell element.column - column index of the cell element.getItsNatTableCellUIFromNode(Node),
ElementTableBase.getTableCellElementInfoAt(int,int)ItsNatTableCellUI getItsNatTableCellUIFromNode(Node node)
node - the node to search for.getItsNatTableCellUIAt(int,int),
ElementTableBase.getTableCellElementInfoFromNode(Node)Element getBodyElement()
Element getRowElementAt(int row)
row - index of the row element to search.ElementTableBase.getRowElementAt(int)Element getRowContentElementAt(int row)
row - index of the row element.ItsNatTableStructure.getRowContentElement(ItsNatTable,int,Element),
ElementTable.getRowContentElementAt(int)Element[] getCellElementsOfRow(int row)
row - the row index.ElementTableBase.getCellElementsOfRow(int)Element[] getCellElementsOfColumn(int column)
column - the column index.ElementTableBase.getCellElementsOfColumn(int)Element getCellElementAt(int row, int column)
row - the row index of the cell element to search.column - the column index of the cell element to search.ElementTableBase.getCellElementAt(int,int)Element getCellContentElementAt(int row, int column)
row - index of the row.ElementTable.getCellContentElementAt(int,int)boolean isUsePatternMarkupToRender()
The default value is defined by ItsNatDocument.isUsePatternMarkupToRender()
setUsePatternMarkupToRender(boolean)void setUsePatternMarkupToRender(boolean value)
value - true to enable the use of original markup to render.isUsePatternMarkupToRender()Copyright © Innowhere Software, Jose Maria Arranz Santamaria.