org.itsnat.comp.table
Interface ItsNatHTMLTableUI

All Superinterfaces:
ItsNatComponentUI, ItsNatElementComponentUI, ItsNatHTMLElementComponentUI, ItsNatTableUI

public interface ItsNatHTMLTableUI
extends ItsNatHTMLElementComponentUI, ItsNatTableUI

Is the base interface of the User Interface of an HTML table body component.

This interface basically provides casts of the base methods.

Author:
Jose Maria Arranz Santamaria

Method Summary
 org.w3c.dom.html.HTMLTableCellElement getHTMLTableCellElementAt(int row, int column)
          Returns the <td> element at the specified row and column.
 org.w3c.dom.html.HTMLTableCellElement[] getHTMLTableCellElementsOfColumn(int column)
          Returns the <td> elements of the specified column as an array.
 org.w3c.dom.html.HTMLTableCellElement[] getHTMLTableCellElementsOfRow(int row)
          Returns the <td> elements of the specified row as an array.
 org.w3c.dom.html.HTMLTableRowElement getHTMLTableRowElementAt(int row)
          Returns the <row> element at the specified index.
 org.w3c.dom.html.HTMLTableSectionElement getHTMLTableSectionElement()
          Returns the <tbody> element.
 ItsNatHTMLTable getItsNatHTMLTable()
          Returns the associated component object.
 ItsNatHTMLTableHeaderUI getItsNatHTMLTableHeaderUI()
          Returns the header user interface manager of this component.
 
Methods inherited from interface org.itsnat.comp.ItsNatHTMLElementComponentUI
getItsNatHTMLElementComponent
 
Methods inherited from interface org.itsnat.comp.table.ItsNatTableUI
getBodyElement, getCellContentElementAt, getCellElementAt, getCellElementsOfColumn, getCellElementsOfRow, getColumnCount, getItsNatTable, getItsNatTableCellUIAt, getItsNatTableCellUIFromNode, getItsNatTableHeaderUI, getRowContentElementAt, getRowCount, getRowElementAt, isUsePatternMarkupToRender, setUsePatternMarkupToRender
 
Methods inherited from interface org.itsnat.comp.ItsNatElementComponentUI
getItsNatElementComponent
 
Methods inherited from interface org.itsnat.comp.ItsNatComponentUI
getItsNatComponent
 

Method Detail

getItsNatHTMLTable

ItsNatHTMLTable getItsNatHTMLTable()
Returns the associated component object.

Returns:
the component object.

getItsNatHTMLTableHeaderUI

ItsNatHTMLTableHeaderUI getItsNatHTMLTableHeaderUI()
Returns the header user interface manager of this component.

Returns:
the header user interface manager. Null if this table has not a header.

getHTMLTableSectionElement

org.w3c.dom.html.HTMLTableSectionElement getHTMLTableSectionElement()
Returns the <tbody> element.

Returns:
the <tbody> element.
See Also:
ItsNatTableUI.getBodyElement()

getHTMLTableRowElementAt

org.w3c.dom.html.HTMLTableRowElement getHTMLTableRowElementAt(int row)
Returns the <row> element at the specified index.

Parameters:
row - index of the row element to search.
Returns:
the row element in this position or null if index is out of range.
See Also:
ItsNatTableUI.getRowElementAt(int)

getHTMLTableCellElementsOfRow

org.w3c.dom.html.HTMLTableCellElement[] getHTMLTableCellElementsOfRow(int row)
Returns the <td> elements of the specified row as an array.

Parameters:
row - the row index.
Returns:
the cell element array or null if index is out of range.
See Also:
ItsNatTableUI.getCellElementsOfRow(int)

getHTMLTableCellElementsOfColumn

org.w3c.dom.html.HTMLTableCellElement[] getHTMLTableCellElementsOfColumn(int column)
Returns the <td> elements of the specified column as an array.

Parameters:
column - the column index.
Returns:
the cell element array or null if index is out of range.
See Also:
ItsNatTableUI.getCellElementsOfColumn(int)

getHTMLTableCellElementAt

org.w3c.dom.html.HTMLTableCellElement getHTMLTableCellElementAt(int row,
                                                                int column)
Returns the <td> element at the specified row and column.

Parameters:
row - the row index of the cell element to search.
column - the column index of the cell element to search.
Returns:
the element in this position or null if some index is out of range.
See Also:
ItsNatTableUI.getCellElementAt(int,int)


Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.