org.kde.koala
Class HTMLTableRowElement

java.lang.Object
  extended by org.kde.koala.Node
      extended by org.kde.koala.Element
          extended by org.kde.koala.HTMLElement
              extended by org.kde.koala.HTMLTableRowElement
All Implemented Interfaces:
org.kde.qt.QtSupport

public class HTMLTableRowElement
extends HTMLElement

A row in a table. See the TR element definition in HTML 4.0.


Constructor Summary
  HTMLTableRowElement()
           
protected HTMLTableRowElement(java.lang.Class dummy)
           
  HTMLTableRowElement(HTMLTableRowElement other)
           
  HTMLTableRowElement(Node other)
           
 
Method Summary
 java.lang.String align()
          Horizontal alignment of data within cells of this row.
 java.lang.String bgColor()
          Background color for rows.
 HTMLCollection cells()
          The collection of cells in this row.
 java.lang.String ch()
          Alignment character for cells in a column.
 java.lang.String chOff()
          Offset of alignment character.
 void deleteCell(long index)
          Delete a cell from the current row.
 HTMLElement insertCell(long index)
          Insert an empty TD cell into this row.
 long rowIndex()
          The index of this row, relative to the entire table.
 long sectionRowIndex()
          The index of this row, relative to the current section ( THEAD , TFOOT , or TBODY ).
 void setAlign(java.lang.String arg1)
          see align
 void setBgColor(java.lang.String arg1)
          see bgColor
 void setCells(HTMLCollection arg1)
          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)
 void setCh(java.lang.String arg1)
          see ch
 void setChOff(java.lang.String arg1)
          see chOff
 void setRowIndex(long arg1)
          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)
 void setSectionRowIndex(long arg1)
          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)
 void setVAlign(java.lang.String arg1)
          see vAlign
 java.lang.String vAlign()
          Vertical alignment of data within cells of this row.
 
Methods inherited from class org.kde.koala.HTMLElement
addCSSProperty, all, assignOther, children, className, dir, id, innerHTML, innerText, lang, removeCSSProperty, setClassName, setDir, setId, setInnerHTML, setInnerText, setLang, setTitle, title
 
Methods inherited from class org.kde.koala.Element
contentEditable, form, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, isHTMLElement, khtmlMalformedPrefix, khtmlMalformedQualifiedName, khtmlValidAttrName, khtmlValidPrefix, khtmlValidQualifiedName, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setContentEditable, style, tagName
 
Methods inherited from class org.kde.koala.Node
addEventListener, appendChild, applyChanges, attributes, childNodes, cloneNode, dispatchEvent, elementId, firstChild, getRect, hasAttributes, hasChildNodes, index, insertBefore, isNull, isSupported, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, op_equals, op_not_equals, ownerDocument, parentNode, prefix, previousSibling, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLTableRowElement

protected HTMLTableRowElement(java.lang.Class dummy)

HTMLTableRowElement

public HTMLTableRowElement()

HTMLTableRowElement

public HTMLTableRowElement(HTMLTableRowElement other)

HTMLTableRowElement

public HTMLTableRowElement(Node other)
Method Detail

rowIndex

public long 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.


setRowIndex

public void setRowIndex(long arg1)
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)


sectionRowIndex

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


setSectionRowIndex

public void setSectionRowIndex(long arg1)
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)


cells

public HTMLCollection cells()
The collection of cells in this row.


setCells

public void setCells(HTMLCollection arg1)
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)


align

public java.lang.String align()
Horizontal alignment of data within cells of this row. See the align attribute definition in HTML 4.0.


setAlign

public void setAlign(java.lang.String arg1)
see align


bgColor

public java.lang.String bgColor()
Background color for rows. See the bgcolor attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.


setBgColor

public void setBgColor(java.lang.String arg1)
see bgColor


ch

public java.lang.String ch()
Alignment character for cells in a column. See the char attribute definition in HTML 4.0.


setCh

public void setCh(java.lang.String arg1)
see ch


chOff

public java.lang.String chOff()
Offset of alignment character. See the charoff attribute definition in HTML 4.0.


setChOff

public void setChOff(java.lang.String arg1)
see chOff


vAlign

public java.lang.String vAlign()
Vertical alignment of data within cells of this row. See the valign attribute definition in HTML 4.0.


setVAlign

public void setVAlign(java.lang.String arg1)
see vAlign


insertCell

public HTMLElement 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.

deleteCell

public void 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.