All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface org.w3c.dom.html.HTMLTableRowElement

public interface HTMLTableRowElement
extends HTMLElement
A row in a table. See the TR element definition in HTML 4.0.


Method Index

 o deleteCell(int)
Delete a cell from the current row.
 o getAlign()
Horizontal alignment of data within cells of this row.
 o getBgColor()
Background color for rows.
 o getCells()
The collection of cells in this row.
 o getCh()
Alignment character for cells in a column.
 o getChOff()
Offset of alignment character.
 o getRowIndex()
The index of this row, relative to the entire table.
 o getSectionRowIndex()
The index of this row, relative to the current section (THEAD, TFOOT, or TBODY).
 o getVAlign()
Vertical alignment of data within cells of this row.
 o insertCell(int)
Insert an empty TD cell into this row.
 o setAlign(String)
 o setBgColor(String)
 o setCells(HTMLCollection)
 o setCh(String)
 o setChOff(String)
 o setRowIndex(int)
 o setSectionRowIndex(int)
 o setVAlign(String)

Methods

 o getRowIndex
 public abstract int getRowIndex()
The index of this row, relative to the entire table.

 o setRowIndex
 public abstract void setRowIndex(int rowIndex)
 o getSectionRowIndex
 public abstract int getSectionRowIndex()
The index of this row, relative to the current section (THEAD, TFOOT, or TBODY).

 o setSectionRowIndex
 public abstract void setSectionRowIndex(int sectionRowIndex)
 o getCells
 public abstract HTMLCollection getCells()
The collection of cells in this row.

 o setCells
 public abstract void setCells(HTMLCollection cells)
 o getAlign
 public abstract String getAlign()
Horizontal alignment of data within cells of this row. See the align attribute definition in HTML 4.0.

 o setAlign
 public abstract void setAlign(String align)
 o getBgColor
 public abstract String getBgColor()
Background color for rows. See the bgcolor attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

 o setBgColor
 public abstract void setBgColor(String bgColor)
 o getCh
 public abstract String getCh()
Alignment character for cells in a column. See the char attribute definition in HTML 4.0.

 o setCh
 public abstract void setCh(String ch)
 o getChOff
 public abstract String getChOff()
Offset of alignment character. See the charoff attribute definition in HTML 4.0.

 o setChOff
 public abstract void setChOff(String chOff)
 o getVAlign
 public abstract String getVAlign()
Vertical alignment of data within cells of this row. See the valign attribute definition in HTML 4.0.

 o setVAlign
 public abstract void setVAlign(String vAlign)
 o insertCell
 public abstract HTMLElement insertCell(int index)
Insert an empty TD cell into this row.

Parameters:
index - The place to insert the cell.
Returns:
The newly created cell.
 o deleteCell
 public abstract void deleteCell(int index)
Delete a cell from the current row.

Parameters:
index - The index of the cell to delete.

All Packages  Class Hierarchy  This Package  Previous  Next  Index