DOM::HTMLTableRowElement
#include <html_table.h>

Public Member Functions | |
HTMLTableRowElement (const HTMLTableRowElement &other) | |
HTMLTableRowElement (const Node &other) | |
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 |
![]() | |
HTMLElement (const HTMLElement &other) | |
HTMLElement (const Node &other) | |
void | addCSSProperty (const DOMString &property, const DOMString &value) |
HTMLCollection | all () const |
HTMLCollection | children () const |
DOMString | className () const |
DOMString | contentEditable () const |
DOMString | dir () const |
DOMString | id () const |
DOMString | innerHTML () const |
DOMString | innerText () const |
bool | isContentEditable () const |
DOMString | lang () const |
HTMLElement & | operator= (const HTMLElement &other) |
HTMLElement & | operator= (const Node &other) |
void | removeCSSProperty (const DOMString &property) |
void | setClassName (const DOMString &) |
void | setContentEditable (const DOMString &enabled) |
void | setDir (const DOMString &) |
void | setId (const DOMString &) |
void | setInnerHTML (const DOMString &html) |
void | setInnerText (const DOMString &text) |
void | setLang (const DOMString &) |
void | setTitle (const DOMString &) |
DOMString | title () const |
![]() | |
Element (const Element &other) | |
Element (const Node &other) | |
unsigned long | childElementCount () const |
bool | contentEditable () const |
Element | firstElementChild () const |
Element | form () const |
DOMString | getAttribute (const DOMString &name) |
Attr | getAttributeNode (const DOMString &name) |
Attr | getAttributeNodeNS (const DOMString &namespaceURI, const DOMString &localName) |
DOMString | getAttributeNS (const DOMString &namespaceURI, const DOMString &localName) |
NodeList | getElementsByClassName (const DOMString &className) |
NodeList | getElementsByTagName (const DOMString &name) |
NodeList | getElementsByTagNameNS (const DOMString &namespaceURI, const DOMString &localName) |
bool | hasAttribute (const DOMString &name) |
bool | hasAttributeNS (const DOMString &namespaceURI, const DOMString &localName) |
bool | isHTMLElement () const |
Element | lastElementChild () const |
Element | nextElementSibling () const |
Element & | operator= (const Element &other) |
Element & | operator= (const Node &other) |
Element | previousElementSibling () const |
Element | querySelector (const DOMString &query) const |
NodeList | querySelectorAll (const DOMString &query) const |
void | removeAttribute (const DOMString &name) |
Attr | removeAttributeNode (const Attr &oldAttr) |
void | removeAttributeNS (const DOMString &namespaceURI, const DOMString &localName) |
void | setAttribute (const DOMString &name, const DOMString &value) |
Attr | setAttributeNode (const Attr &newAttr) |
Attr | setAttributeNodeNS (const Attr &newAttr) |
void | setAttributeNS (const DOMString &namespaceURI, const DOMString &qualifiedName, const DOMString &value) |
void | setContentEditable (bool enabled) |
CSSStyleDeclaration | style () |
DOMString | tagName () const |
![]() | |
Node (const Node &other) | |
Node (NodeImpl *_impl) | |
void | addEventListener (const DOMString &type, EventListener *listener, const bool useCapture) |
Node | appendChild (const Node &newChild) |
void | applyChanges () |
NamedNodeMap | attributes () const |
NodeList | childNodes () const |
Node | cloneNode (bool deep) |
unsigned | compareDocumentPosition (const DOM::Node &other) |
bool | dispatchEvent (const Event &evt) |
quint32 | elementId () const |
Node | firstChild () const |
KHTML_DEPRECATED void | getCursor (int offset, int &_x, int &_y, int &height) |
QRect | getRect () |
NodeImpl * | handle () const |
bool | hasAttributes () |
bool | hasChildNodes () |
unsigned long | index () const |
Node | insertBefore (const Node &newChild, const Node &refChild) |
bool | isNull () const |
bool | isSupported (const DOMString &feature, const DOMString &version) const |
Node | lastChild () const |
DOMString | localName () const |
DOMString | namespaceURI () const |
Node | nextSibling () const |
DOMString | nodeName () const |
unsigned short | nodeType () const |
DOMString | nodeValue () const |
void | normalize () |
bool | operator!= (const Node &other) const |
Node & | operator= (const Node &other) |
bool | operator== (const Node &other) const |
Document | ownerDocument () const |
Node | parentNode () const |
DOMString | prefix () const |
Node | previousSibling () const |
Node | removeChild (const Node &oldChild) |
void | removeEventListener (const DOMString &type, EventListener *listener, bool useCapture) |
Node | replaceChild (const Node &newChild, const Node &oldChild) |
void | setNodeValue (const DOMString &) |
void | setPrefix (const DOMString &prefix) |
void | setTextContent (const DOMString &text) |
DOMString | textContent () const |
KHTML_DEPRECATED QString | toHTML () |
Protected Member Functions | |
HTMLTableRowElement (HTMLTableRowElementImpl *impl) | |
![]() | |
HTMLElement (HTMLElementImpl *impl) | |
void | assignOther (const Node &other, int elementId) |
![]() | |
Element (ElementImpl *_impl) | |
Additional Inherited Members | |
![]() | |
enum | DocumentPosition { DOCUMENT_POSITION_DISCONNECTED = 0x01, DOCUMENT_POSITION_PRECEDING = 0x02, DOCUMENT_POSITION_FOLLOWING = 0x04, DOCUMENT_POSITION_CONTAINS = 0x08, DOCUMENT_POSITION_CONTAINED_BY = 0x10, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20 } |
enum | NodeType { ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3, CDATA_SECTION_NODE = 4, ENTITY_REFERENCE_NODE = 5, ENTITY_NODE = 6, PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8, DOCUMENT_NODE = 9, DOCUMENT_TYPE_NODE = 10, DOCUMENT_FRAGMENT_NODE = 11, NOTATION_NODE = 12, XPATH_NAMESPACE_NODE = 13 } |
![]() | |
static bool | khtmlMalformedPrefix (const DOMString &name) |
static bool | khtmlMalformedQualifiedName (const DOMString &name) |
static bool | khtmlValidAttrName (const DOMString &name) |
static bool | khtmlValidPrefix (const DOMString &name) |
static bool | khtmlValidQualifiedName (const DOMString &name) |
![]() | |
NodeImpl * | impl |
Detailed Description
A row in a table.
See the TR element definition in HTML 4.0.
Definition at line 734 of file html_table.h.
Member Function Documentation
◆ align()
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 834 of file html_table.cpp.
◆ bgColor()
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 849 of file html_table.cpp.
◆ cells()
HTMLCollection HTMLTableRowElement::cells | ( | ) | const |
The collection of cells in this row.
Definition at line 821 of file html_table.cpp.
◆ ch()
DOMString HTMLTableRowElement::ch | ( | ) | const |
Alignment character for cells in a column.
See the char attribute definition in HTML 4.0.
Definition at line 864 of file html_table.cpp.
◆ chOff()
DOMString HTMLTableRowElement::chOff | ( | ) | const |
Offset of alignment character.
See the charoff attribute definition in HTML 4.0.
Definition at line 879 of file html_table.cpp.
◆ deleteCell()
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 922 of file html_table.cpp.
◆ insertCell()
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 909 of file html_table.cpp.
◆ rowIndex()
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 795 of file html_table.cpp.
◆ sectionRowIndex()
long HTMLTableRowElement::sectionRowIndex | ( | ) | const |
The index of this row, relative to the current section ( THEAD
, TFOOT
, or TBODY
).
Definition at line 808 of file html_table.cpp.
◆ setAlign()
void HTMLTableRowElement::setAlign | ( | const DOMString & | value | ) |
see align
Definition at line 842 of file html_table.cpp.
◆ setBgColor()
void HTMLTableRowElement::setBgColor | ( | const DOMString & | value | ) |
see bgColor
Definition at line 857 of file html_table.cpp.
◆ setCells()
void HTMLTableRowElement::setCells | ( | const HTMLCollection & | ) |
see cells
This function is obsolete - the cells property is actually supposed to be read-only (https://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html)
Definition at line 829 of file html_table.cpp.
◆ setCh()
void HTMLTableRowElement::setCh | ( | const DOMString & | value | ) |
see ch
Definition at line 872 of file html_table.cpp.
◆ setChOff()
void HTMLTableRowElement::setChOff | ( | const DOMString & | value | ) |
see chOff
Definition at line 887 of file html_table.cpp.
◆ setRowIndex()
void HTMLTableRowElement::setRowIndex | ( | long | ) |
see rowIndex
This function is obsolete - the rowIndex property is actually supposed to be read-only (https://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html)
Definition at line 803 of file html_table.cpp.
◆ setSectionRowIndex()
void HTMLTableRowElement::setSectionRowIndex | ( | long | ) |
see sectionRowIndex
This function is obsolete - the sectionRowIndex property is actually supposed to be read-only (https://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html)
Definition at line 816 of file html_table.cpp.
◆ setVAlign()
void HTMLTableRowElement::setVAlign | ( | const DOMString & | value | ) |
see vAlign
Definition at line 902 of file html_table.cpp.
◆ vAlign()
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 894 of file html_table.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Mar 22 2023 04:00:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.