DOM.HTMLTableCellElement

KDE 4.5 PyKDE API Reference

- KDE's Python API

# HTMLTableCellElement Class Reference

`from PyKDE4.khtml import *`

Inherits: DOM.HTMLElement → DOM.Element → DOM.Node
Namespace: DOM

## Detailed Description

The object used to represent the TH and TD elements. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#edef-TD"> TD element definition in HTML 4.0.

## Methods
| __init__ (self)
| __init__ (self, DOM.HTMLTableCellElement other)
| __init__ (self, DOM.Node other)
DOM.DOMString | abbr (self)
DOM.DOMString | align (self)
DOM.DOMString | axis (self)
DOM.DOMString | bgColor (self)
long | cellIndex (self)
DOM.DOMString | ch (self)
DOM.DOMString | chOff (self)
long | colSpan (self)
DOM.DOMString | headers (self)
DOM.DOMString | height (self)
bool | noWrap (self)
long | rowSpan (self)
DOM.DOMString | scope (self)
| setAbbr (self, DOM.DOMString a0)
| setAlign (self, DOM.DOMString a0)
| setAxis (self, DOM.DOMString a0)
| setBgColor (self, DOM.DOMString a0)
| setCellIndex (self, long a0)
| setCh (self, DOM.DOMString a0)
| setChOff (self, DOM.DOMString a0)
| setColSpan (self, long a0)
| setHeaders (self, DOM.DOMString a0)
| setHeight (self, DOM.DOMString a0)
| setNoWrap (self, bool a0)
| setRowSpan (self, long a0)
| setScope (self, DOM.DOMString a0)
| setVAlign (self, DOM.DOMString a0)
| setWidth (self, DOM.DOMString a0)
DOM.DOMString | vAlign (self)
DOM.DOMString | width (self)

## Method Documentation

__init__ | ( |  | self ) |

__init__ | ( | self, |
|  | DOM.HTMLTableCellElement | other
| ) |  |  |

__init__ | ( | self, |
|  | DOM.Node | other
| ) |  |  |

DOM.DOMString abbr | ( |  | self ) |

Abbreviation for header cells. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-abbr"> abbr attribute definition in HTML 4.0.

DOM.DOMString align | ( |  | self ) |

Horizontal alignment of data in cell. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-align-TD"> align attribute definition in HTML 4.0.

DOM.DOMString axis | ( |  | self ) |

Names group of related headers. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-axis"> axis attribute definition in HTML 4.0.

DOM.DOMString bgColor | ( |  | self ) |

Cell background color. See the <a href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-bgcolor"> bgcolor attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

long cellIndex | ( |  | self ) |

The index of this cell in the row.

DOM.DOMString ch | ( |  | self ) |

Alignment character for cells in a column. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-char"> char attribute definition in HTML 4.0.

DOM.DOMString chOff | ( |  | self ) |

Offset of alignment character. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-charoff"> charoff attribute definition in HTML 4.0.

long colSpan | ( |  | self ) |

Number of columns spanned by cell. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-colspan"> colspan attribute definition in HTML 4.0.

DOM.DOMString headers | ( |  | self ) |

List of id attribute values for header cells. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-headers"> headers attribute definition in HTML 4.0.

DOM.DOMString height | ( |  | self ) |

Cell height. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-height-TH"> height attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

bool noWrap | ( |  | self ) |

Suppress word wrapping. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-nowrap"> nowrap attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

long rowSpan | ( |  | self ) |

Number of rows spanned by cell. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-rowspan"> rowspan attribute definition in HTML 4.0.

DOM.DOMString scope | ( |  | self ) |

Scope covered by header cells. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-scope"> scope attribute definition in HTML 4.0.

setAbbr | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see abbr

setAlign | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see align

setAxis | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see axis

setBgColor | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see bgColor

setCellIndex | ( | self, |
|  | long | a0
| ) |  |  |

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)

setCh | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see ch

setChOff | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see chOff

setColSpan | ( | self, |
|  | long | a0
| ) |  |  |

see colSpan

setHeaders | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see headers

setHeight | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see height

setNoWrap | ( | self, |
|  | bool | a0
| ) |  |  |

see noWrap

setRowSpan | ( | self, |
|  | long | a0
| ) |  |  |

see rowSpan

setScope | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see scope

setVAlign | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see vAlign

setWidth | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see width

DOM.DOMString vAlign | ( |  | self ) |

Vertical alignment of data in cell. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-valign"> valign attribute definition in HTML 4.0.

DOM.DOMString width | ( |  | self ) |

Cell width. See the <a href="http://www.w3.org/TR/REC-html40/struct/tables.html#adef-width-TH"> width attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.