class HTMLTableRowElement

A row in a table. More...

Full nameDOM::HTMLTableRowElement
Definition#include <html_table.h>
InheritsDOM::HTMLElement [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

A row in a table. See the TR element definition in HTML 4.0.

 HTMLTableRowElement ()

HTMLTableRowElement

 HTMLTableRowElement (const HTMLTableRowElement &other)

HTMLTableRowElement

 HTMLTableRowElement (const Node &other)

HTMLTableRowElement

 HTMLTableRowElement (HTMLTableRowElementImpl *impl)

HTMLTableRowElement

[protected]

HTMLTableRowElement &  operator = (const HTMLTableRowElement &other)

operator =

Reimplemented from HTMLElement.

HTMLTableRowElement &  operator = (const Node &other)

operator =

Reimplemented from HTMLElement.

 ~HTMLTableRowElement ()

~HTMLTableRowElement

long  rowIndex ()

rowIndex

[const]

The index of this row, relative to the entire table. This is in logical order and not in document order. The rowIndex does take into account sections (THEAD, TFOOT or TBODY) within the table, placing THEAD rows first in the index, followed by TBODY rows, followed by TFOOT rows.

void  setRowIndex ( long )

setRowIndex

see rowIndex

This function is obsolete - the rowIndex property is actually supposed to be read-only (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html)

long  sectionRowIndex ()

sectionRowIndex

[const]

The index of this row, relative to the current section ( THEAD , TFOOT , or TBODY ).

void  setSectionRowIndex ( long )

setSectionRowIndex

see sectionRowIndex

This function is obsolete - the sectionRowIndex property is actually supposed to be read-only (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html)

HTMLCollection  cells ()

cells

[const]

The collection of cells in this row.

void  setCells ( const HTMLCollection & )

setCells

see cells

This function is obsolete - the cells property is actually supposed to be read-only (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html)

DOMString  align ()

align

[const]

Horizontal alignment of data within cells of this row. See the align attribute definition in HTML 4.0.

void  setAlign ( const DOMString & )

setAlign

see align

DOMString  bgColor ()

bgColor

[const]

Background color for rows. See the bgcolor attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

void  setBgColor ( const DOMString & )

setBgColor

see bgColor

DOMString  ch ()

ch

[const]

Alignment character for cells in a column. See the char attribute definition in HTML 4.0.

void  setCh ( const DOMString & )

setCh

see ch

DOMString  chOff ()

chOff

[const]

Offset of alignment character. See the charoff attribute definition in HTML 4.0.

void  setChOff ( const DOMString & )

setChOff

see chOff

DOMString  vAlign ()

vAlign

[const]

Vertical alignment of data within cells of this row. See the valign attribute definition in HTML 4.0.

void  setVAlign ( const DOMString & )

setVAlign

see vAlign

HTMLElement  insertCell ( long index )

insertCell

Insert an empty TD cell into this row. If index is -1 or equal to the number of cells, the new cell is appended.

Parameters:
indexThe place to insert the cell.

Returns: The newly created cell.

void  deleteCell ( long index )

deleteCell

Delete a cell from the current row.

Parameters:
indexThe index of the cell to delete, starting from 0. If the index is -1 the last cell in the row is deleted.


Generated by: caleb on tcdevel on Tue Jan 28 12:54:28 2003, using kdoc $.