• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KHTML

  • DOM
  • HTMLTableRowElement
Public Member Functions | Protected Member Functions

DOM::HTMLTableRowElement Class Reference

A row in a table. More...

#include <html_table.h>

Inheritance diagram for DOM::HTMLTableRowElement:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

 HTMLTableRowElement (HTMLTableRowElementImpl *impl)

Detailed Description

A row in a table.

See the TR element definition in HTML 4.0.

Definition at line 725 of file html_table.h.


Constructor & Destructor Documentation

HTMLTableRowElement::HTMLTableRowElement ( )

Definition at line 626 of file html_table.cpp.

HTMLTableRowElement::HTMLTableRowElement ( const HTMLTableRowElement &  other)

Definition at line 630 of file html_table.cpp.

DOM::HTMLTableRowElement::HTMLTableRowElement ( const Node &  other) [inline]

Definition at line 732 of file html_table.h.

HTMLTableRowElement::HTMLTableRowElement ( HTMLTableRowElementImpl *  impl) [protected]

Definition at line 634 of file html_table.cpp.

HTMLTableRowElement::~HTMLTableRowElement ( )

Definition at line 650 of file html_table.cpp.


Member Function Documentation

DOMString HTMLTableRowElement::align ( ) const

Horizontal alignment of data within cells of this row.

See the align attribute definition in HTML 4.0.

Definition at line 687 of file html_table.cpp.

DOMString HTMLTableRowElement::bgColor ( ) const

Background color for rows.

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

Definition at line 698 of file html_table.cpp.

HTMLCollection HTMLTableRowElement::cells ( ) const

The collection of cells in this row.

Definition at line 676 of file html_table.cpp.

DOMString HTMLTableRowElement::ch ( ) const

Alignment character for cells in a column.

See the char attribute definition in HTML 4.0.

Definition at line 709 of file html_table.cpp.

DOMString HTMLTableRowElement::chOff ( ) const

Offset of alignment character.

See the charoff attribute definition in HTML 4.0.

Definition at line 720 of file html_table.cpp.

void HTMLTableRowElement::deleteCell ( long  index)

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

Definition at line 752 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:
indexThe place to insert the cell.
Returns:
The newly created cell.

Definition at line 742 of file html_table.cpp.

HTMLTableRowElement & HTMLTableRowElement::operator= ( const Node &  other)

Reimplemented from DOM::HTMLElement.

Definition at line 638 of file html_table.cpp.

HTMLTableRowElement & HTMLTableRowElement::operator= ( const HTMLTableRowElement &  other)

Definition at line 644 of file html_table.cpp.

long HTMLTableRowElement::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.

Definition at line 654 of file html_table.cpp.

long HTMLTableRowElement::sectionRowIndex ( ) const

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

Definition at line 665 of file html_table.cpp.

void HTMLTableRowElement::setAlign ( const DOMString &  value)

see align

Definition at line 693 of file html_table.cpp.

void HTMLTableRowElement::setBgColor ( const DOMString &  value)

see bgColor

Definition at line 704 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 682 of file html_table.cpp.

void HTMLTableRowElement::setCh ( const DOMString &  value)

see ch

Definition at line 715 of file html_table.cpp.

void HTMLTableRowElement::setChOff ( const DOMString &  value)

see chOff

Definition at line 726 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 660 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 671 of file html_table.cpp.

void HTMLTableRowElement::setVAlign ( const DOMString &  value)

see vAlign

Definition at line 737 of file html_table.cpp.

DOMString HTMLTableRowElement::vAlign ( ) const

Vertical alignment of data within cells of this row.

See the valign attribute definition in HTML 4.0.

Definition at line 731 of file html_table.cpp.


The documentation for this class was generated from the following files:
  • html_table.h
  • html_table.cpp

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal