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 |
---|---|
org.w3c.dom.Element |
getBodyElement()
Returns the element used as parent of the table body.
|
org.w3c.dom.Element |
getCellContentElementAt(int row,
int column)
Returns the content element of the cell.
|
org.w3c.dom.Element |
getCellElementAt(int row,
int column)
Returns the cell element at the specified row and column.
|
org.w3c.dom.Element[] |
getCellElementsOfColumn(int column)
Returns the cell elements of the specified column as an array.
|
org.w3c.dom.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(org.w3c.dom.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.
|
org.w3c.dom.Element |
getRowContentElementAt(int row)
Returns the content row element.
|
int |
getRowCount()
Returns the number of rows.
|
org.w3c.dom.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.
|
getItsNatElementComponent
getItsNatComponent
ItsNatTable 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(org.w3c.dom.Node node)
node
- the node to search for.getItsNatTableCellUIAt(int,int)
,
ElementTableBase.getTableCellElementInfoFromNode(Node)
org.w3c.dom.Element getBodyElement()
org.w3c.dom.Element getRowElementAt(int row)
row
- index of the row element to search.ElementTableBase.getRowElementAt(int)
org.w3c.dom.Element getRowContentElementAt(int row)
row
- index of the row element.ItsNatTableStructure.getRowContentElement(ItsNatTable,int,Element)
,
ElementTable.getRowContentElementAt(int)
org.w3c.dom.Element[] getCellElementsOfRow(int row)
row
- the row index.ElementTableBase.getCellElementsOfRow(int)
org.w3c.dom.Element[] getCellElementsOfColumn(int column)
column
- the column index.ElementTableBase.getCellElementsOfColumn(int)
org.w3c.dom.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)
org.w3c.dom.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 © 2007 Innowhere Software Services S.L. All Rights Reserved.