# khtml Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# DOM::HTMLTableCellElement Class Reference

The object used to represent the `TH` and `TD` elements. More...

`#include <html_table.h>`

Inheritance diagram for DOM::HTMLTableCellElement:

[legend]
Collaboration diagram for DOM::HTMLTableCellElement:

[legend]
List of all members.

## Public Member Functions

| HTMLTableCellElement (const HTMLTableCellElement &other)
| HTMLTableCellElement (const Node &other)
HTMLTableCellElement & | operator= (const HTMLTableCellElement &other)
HTMLTableCellElement & | operator= (const Node &other)
long | cellIndex () const
void | setCellIndex (long)
DOMString | abbr () const
void | setAbbr (const DOMString &)
DOMString | align () const
void | setAlign (const DOMString &)
DOMString | axis () const
void | setAxis (const DOMString &)
DOMString | bgColor () const
void | setBgColor (const DOMString &)
DOMString | ch () const
void | setCh (const DOMString &)
DOMString | chOff () const
void | setChOff (const DOMString &)
long | colSpan () const
void | setColSpan (long)
DOMString | headers () const
void | setHeaders (const DOMString &)
DOMString | height () const
void | setHeight (const DOMString &)
bool | noWrap () const
void | setNoWrap (bool)
long | rowSpan () const
void | setRowSpan (long)
DOMString | scope () const
void | setScope (const DOMString &)
DOMString | vAlign () const
void | setVAlign (const DOMString &)
DOMString | width () const
void | setWidth (const DOMString &)

## Protected Member Functions

| HTMLTableCellElement (HTMLTableCellElementImpl *impl)

## Friends

class | HTMLTableElement

## Detailed Description

The object used to represent the `TH` and `TD` elements.

See the TD element definition in HTML 4.0.

Definition at line 91 of file html_table.h.

## Member Function Documentation

long HTMLTableCellElement::cellIndex | ( |  | ) | const

| The index of this cell in the row. Definition at line 110 of file html_table.cpp.

void HTMLTableCellElement::setCellIndex | ( | long |  | ) |

| see cellIndex This function is obsolete - the cellIndex property is actually supposed to be read-only (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) Definition at line 116 of file html_table.cpp.

DOMString HTMLTableCellElement::abbr | ( |  | ) | const

| Abbreviation for header cells. See the abbr attribute definition in HTML 4.0. Definition at line 121 of file html_table.cpp.

void HTMLTableCellElement::setAbbr | ( | const DOMString & |  | ) |

| see abbr Definition at line 127 of file html_table.cpp.

DOMString HTMLTableCellElement::align | ( |  | ) | const

| Horizontal alignment of data in cell. See the align attribute definition in HTML 4.0. Definition at line 132 of file html_table.cpp.

void HTMLTableCellElement::setAlign | ( | const DOMString & |  | ) |

| see align Definition at line 138 of file html_table.cpp.

DOMString HTMLTableCellElement::axis | ( |  | ) | const

| Names group of related headers. See the axis attribute definition in HTML 4.0. Definition at line 143 of file html_table.cpp.

void HTMLTableCellElement::setAxis | ( | const DOMString & |  | ) |

| see axis Definition at line 149 of file html_table.cpp.

DOMString HTMLTableCellElement::bgColor | ( |  | ) | const

| Cell background color. See the bgcolor attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0. Definition at line 154 of file html_table.cpp.

void HTMLTableCellElement::setBgColor | ( | const DOMString & |  | ) |

| see bgColor Definition at line 160 of file html_table.cpp.

DOMString HTMLTableCellElement::ch | ( |  | ) | const

| Alignment character for cells in a column. See the char attribute definition in HTML 4.0. Definition at line 165 of file html_table.cpp.

void HTMLTableCellElement::setCh | ( | const DOMString & |  | ) |

| see ch Definition at line 171 of file html_table.cpp.

DOMString HTMLTableCellElement::chOff | ( |  | ) | const

| Offset of alignment character. See the charoff attribute definition in HTML 4.0. Definition at line 176 of file html_table.cpp.

void HTMLTableCellElement::setChOff | ( | const DOMString & |  | ) |

| see chOff Definition at line 182 of file html_table.cpp.

long HTMLTableCellElement::colSpan | ( |  | ) | const

| Number of columns spanned by cell. See the colspan attribute definition in HTML 4.0. Definition at line 187 of file html_table.cpp. References DOM::DOMString::toInt().

void HTMLTableCellElement::setColSpan | ( | long |  | ) |

| see colSpan Definition at line 193 of file html_table.cpp.

DOMString HTMLTableCellElement::headers | ( |  | ) | const

| List of `id` attribute values for header cells. See the headers attribute definition in HTML 4.0. Definition at line 201 of file html_table.cpp.

void HTMLTableCellElement::setHeaders | ( | const DOMString & |  | ) |

| see headers Definition at line 207 of file html_table.cpp.

DOMString HTMLTableCellElement::height | ( |  | ) | const

| Cell height. See the height attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0. Definition at line 212 of file html_table.cpp.

void HTMLTableCellElement::setHeight | ( | const DOMString & |  | ) |

| see height Definition at line 218 of file html_table.cpp.

bool HTMLTableCellElement::noWrap | ( |  | ) | const

| Suppress word wrapping. See the nowrap attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0. Definition at line 223 of file html_table.cpp. References DOM::DOMString::isNull().

void HTMLTableCellElement::setNoWrap | ( | bool |  | ) |

| see noWrap Definition at line 229 of file html_table.cpp.

long HTMLTableCellElement::rowSpan | ( |  | ) | const

| Number of rows spanned by cell. See the rowspan attribute definition in HTML 4.0. Definition at line 235 of file html_table.cpp. References DOM::DOMString::toInt().

void HTMLTableCellElement::setRowSpan | ( | long |  | ) |

| see rowSpan Definition at line 241 of file html_table.cpp.

DOMString HTMLTableCellElement::scope | ( |  | ) | const

| Scope covered by header cells. See the scope attribute definition in HTML 4.0. Definition at line 249 of file html_table.cpp.

void HTMLTableCellElement::setScope | ( | const DOMString & |  | ) |

| see scope Definition at line 255 of file html_table.cpp.

DOMString HTMLTableCellElement::vAlign | ( |  | ) | const

| Vertical alignment of data in cell. See the valign attribute definition in HTML 4.0. Definition at line 260 of file html_table.cpp.

void HTMLTableCellElement::setVAlign | ( | const DOMString & |  | ) |

| see vAlign Definition at line 266 of file html_table.cpp.

DOMString HTMLTableCellElement::width | ( |  | ) | const

| Cell width. See the width attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0. Definition at line 271 of file html_table.cpp.

void HTMLTableCellElement::setWidth | ( | const DOMString & |  | ) |

| see width Definition at line 277 of file html_table.cpp.

The documentation for this class was generated from the following files:

- html_table.h
- html_table.cpp

This file is part of the documentation for khtml Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:34:30 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003