khtml Library API Documentation

DOM::HTMLTableRowElement Class Reference

A row in a table. More...

#include <html_table.h>

Inheritance diagram for DOM::HTMLTableRowElement:

DOM::HTMLElement DOM::Element DOM::Node List of all members.

Public Methods

HTMLTableRowElement & operator= (const Node &other)
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)

Friends

class HTMLTableElement

Detailed Description

A row in a table.

See the TR element definition in HTML 4.0.

Definition at line 724 of file html_table.h.


Member Function Documentation

long HTMLTableRowElement::rowIndex  
 

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.

Definition at line 655 of file html_table.cpp.

void HTMLTableRowElement::setRowIndex long   
 

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)

Definition at line 661 of file html_table.cpp.

long HTMLTableRowElement::sectionRowIndex  
 

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

Definition at line 666 of file html_table.cpp.

void HTMLTableRowElement::setSectionRowIndex long   
 

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)

Definition at line 672 of file html_table.cpp.

HTMLCollection HTMLTableRowElement::cells  
 

The collection of cells in this row.

Definition at line 677 of file html_table.cpp.

void HTMLTableRowElement::setCells const HTMLCollection  
 

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)

Definition at line 683 of file html_table.cpp.

DOMString HTMLTableRowElement::align  
 

Horizontal alignment of data within cells of this row.

See the align attribute definition in HTML 4.0.

Definition at line 688 of file html_table.cpp.

void HTMLTableRowElement::setAlign const DOMString  
 

see align

Definition at line 694 of file html_table.cpp.

DOMString HTMLTableRowElement::bgColor  
 

Background color for rows.

See the bgcolor attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

Definition at line 699 of file html_table.cpp.

void HTMLTableRowElement::setBgColor const DOMString  
 

see bgColor

Definition at line 705 of file html_table.cpp.

DOMString HTMLTableRowElement::ch  
 

Alignment character for cells in a column.

See the char attribute definition in HTML 4.0.

Definition at line 710 of file html_table.cpp.

void HTMLTableRowElement::setCh const DOMString  
 

see ch

Definition at line 716 of file html_table.cpp.

DOMString HTMLTableRowElement::chOff  
 

Offset of alignment character.

See the charoff attribute definition in HTML 4.0.

Definition at line 721 of file html_table.cpp.

void HTMLTableRowElement::setChOff const DOMString  
 

see chOff

Definition at line 727 of file html_table.cpp.

DOMString HTMLTableRowElement::vAlign  
 

Vertical alignment of data within cells of this row.

See the valign attribute definition in HTML 4.0.

Definition at line 732 of file html_table.cpp.

void HTMLTableRowElement::setVAlign const DOMString  
 

see vAlign

Definition at line 738 of file html_table.cpp.

HTMLElement HTMLTableRowElement::insertCell long    index
 

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.

Definition at line 743 of file html_table.cpp.

void HTMLTableRowElement::deleteCell long    index
 

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.
Returns:

Definition at line 753 of file html_table.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for khtml Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Apr 22 14:26:14 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2003