class HTMLTableRowElement

# class HTMLTableRowElement | A row in a table. More...
Full name | `DOM::HTMLTableRowElement`
Definition | `#include <html_table.h>`
Inherits | DOM::HTMLElement [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- HTMLTableRowElement ()
- HTMLTableRowElement (const HTMLTableRowElement &other)
- HTMLTableRowElement (const Node &other)
- HTMLTableRowElement & operator = (const HTMLTableRowElement &other)
- HTMLTableRowElement & operator = (const Node &other)
- ~HTMLTableRowElement ()
- long rowIndex () const
- void setRowIndex ( long )
- long sectionRowIndex () const
- void setSectionRowIndex ( long )
- HTMLCollection cells () const
- void setCells ( const HTMLCollection & )
- DOMString align () const
- void setAlign ( const DOMString & )
- DOMString bgColor () const
- void setBgColor ( const DOMString & )
- DOMString ch () const
- void setCh ( const DOMString & )
- DOMString chOff () const
- void setChOff ( const DOMString & )
- DOMString vAlign () const
- void setVAlign ( const DOMString & )
- HTMLElement insertCell ( long index )
- void deleteCell ( long index )

#### Protected Methods

- HTMLTableRowElement (HTMLTableRowElementImpl *impl)

## 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:

index | The place to insert the cell.

Returns: The newly created cell.

void deleteCell ( long index ) | ### deleteCell

Delete a cell from the current row.

Parameters:

index | The index of the cell to delete, starting from 0. If the index is -1 the last cell in the row is deleted.

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:43 2003, using kdoc 2.0a54.