Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.xml.dom.html2
Class DomHTMLTableRowElement  view DomHTMLTableRowElement download DomHTMLTableRowElement.java

java.lang.Object
  extended bygnu.xml.dom.DomNode
      extended bygnu.xml.dom.DomNsNode
          extended bygnu.xml.dom.DomElement
              extended bygnu.xml.dom.html2.DomHTMLElement
                  extended bygnu.xml.dom.html2.DomHTMLTableRowElement
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, org.w3c.dom.events.DocumentEvent, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.html2.HTMLElement, org.w3c.dom.html2.HTMLTableRowElement, org.w3c.dom.Node, org.w3c.dom.NodeList

public class DomHTMLTableRowElement
extends DomHTMLElement
implements org.w3c.dom.html2.HTMLTableRowElement

An HTML 'TR' element node.


Nested Class Summary
 
Nested classes inherited from class gnu.xml.dom.DomNode
 
Field Summary
 
Fields inherited from class gnu.xml.dom.DomElement
 
Fields inherited from class gnu.xml.dom.DomNsNode
 
Fields inherited from class gnu.xml.dom.DomNode
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
protected DomHTMLTableRowElement(DomHTMLDocument owner, java.lang.String namespaceURI, java.lang.String name)
           
 
Method Summary
 void deleteCell(int index)
          Delete a cell from the current row.
 java.lang.String getAlign()
          Horizontal alignment of data within cells of this row.
 java.lang.String getBgColor()
          Background color for rows.
(package private)  org.w3c.dom.Node getCell(int index)
           
 org.w3c.dom.html2.HTMLCollection getCells()
          The collection of cells in this row.
 java.lang.String getCh()
          Alignment character for cells in a column.
 java.lang.String getChOff()
          Offset of alignment character.
 int getRowIndex()
          This is in logical order and not in document order.
 int getSectionRowIndex()
          The index of this row, relative to the current section ( THEAD, TFOOT, or TBODY), starting from 0.
 java.lang.String getVAlign()
          Vertical alignment of data within cells of this row.
 org.w3c.dom.html2.HTMLElement insertCell(int index)
          Insert an empty TD cell into this row.
 void setAlign(java.lang.String align)
          Horizontal alignment of data within cells of this row.
 void setBgColor(java.lang.String bgColor)
          Background color for rows.
 void setCh(java.lang.String ch)
          Alignment character for cells in a column.
 void setChOff(java.lang.String chOff)
          Offset of alignment character.
 void setVAlign(java.lang.String vAlign)
          Vertical alignment of data within cells of this row.
 
Methods inherited from class gnu.xml.dom.html2.DomHTMLElement
dispatchUIEvent, getBooleanHTMLAttribute, getChildElement, getClassName, getDir, getHTMLAttribute, getId, getIndex, getIntHTMLAttribute, getLang, getParentElement, getTitle, setBooleanHTMLAttribute, setClassName, setDir, setHTMLAttribute, setId, setIntHTMLAttribute, setLang, setTitle
 
Methods inherited from class gnu.xml.dom.DomElement
clone, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, isDefaultNamespace, isEqualNode, lookupNamespaceURI, lookupPrefix, makeReadonly, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from class gnu.xml.dom.DomNsNode
getLocalName, getNamespaceURI, getNodeName, getPrefix, setPrefix
 
Methods inherited from class gnu.xml.dom.DomNode
addEventListener, appendChild, cloneNode, compact, compareDocumentPosition, compareTo, createEvent, dispatchEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getLength, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isReadonly, isSameNode, isSupported, item, list, nameAndTypeEquals, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, setTextContent, setUserData, toString, trimToSize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.html2.HTMLElement
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Constructor Detail

DomHTMLTableRowElement

protected DomHTMLTableRowElement(DomHTMLDocument owner,
                                 java.lang.String namespaceURI,
                                 java.lang.String name)
Method Detail

getRowIndex

public int getRowIndex()
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
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.

Specified by:
getRowIndex in interface org.w3c.dom.html2.HTMLTableRowElement

getSectionRowIndex

public int getSectionRowIndex()
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
The index of this row, relative to the current section ( THEAD, TFOOT, or TBODY), starting from 0.

Specified by:
getSectionRowIndex in interface org.w3c.dom.html2.HTMLTableRowElement

getCells

public org.w3c.dom.html2.HTMLCollection getCells()
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
The collection of cells in this row.

Specified by:
getCells in interface org.w3c.dom.html2.HTMLTableRowElement

getAlign

public java.lang.String getAlign()
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
Horizontal alignment of data within cells of this row. See the align attribute definition in HTML 4.01.

Specified by:
getAlign in interface org.w3c.dom.html2.HTMLTableRowElement

setAlign

public void setAlign(java.lang.String align)
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
Horizontal alignment of data within cells of this row. See the align attribute definition in HTML 4.01.

Specified by:
setAlign in interface org.w3c.dom.html2.HTMLTableRowElement

getBgColor

public java.lang.String getBgColor()
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
Background color for rows. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

Specified by:
getBgColor in interface org.w3c.dom.html2.HTMLTableRowElement

setBgColor

public void setBgColor(java.lang.String bgColor)
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
Background color for rows. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

Specified by:
setBgColor in interface org.w3c.dom.html2.HTMLTableRowElement

getCh

public java.lang.String getCh()
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
Alignment character for cells in a column. See the char attribute definition in HTML 4.01.

Specified by:
getCh in interface org.w3c.dom.html2.HTMLTableRowElement

setCh

public void setCh(java.lang.String ch)
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
Alignment character for cells in a column. See the char attribute definition in HTML 4.01.

Specified by:
setCh in interface org.w3c.dom.html2.HTMLTableRowElement

getChOff

public java.lang.String getChOff()
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
Offset of alignment character. See the charoff attribute definition in HTML 4.01.

Specified by:
getChOff in interface org.w3c.dom.html2.HTMLTableRowElement

setChOff

public void setChOff(java.lang.String chOff)
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
Offset of alignment character. See the charoff attribute definition in HTML 4.01.

Specified by:
setChOff in interface org.w3c.dom.html2.HTMLTableRowElement

getVAlign

public java.lang.String getVAlign()
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
Vertical alignment of data within cells of this row. See the valign attribute definition in HTML 4.01.

Specified by:
getVAlign in interface org.w3c.dom.html2.HTMLTableRowElement

setVAlign

public void setVAlign(java.lang.String vAlign)
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
Vertical alignment of data within cells of this row. See the valign attribute definition in HTML 4.01.

Specified by:
setVAlign in interface org.w3c.dom.html2.HTMLTableRowElement

insertCell

public org.w3c.dom.html2.HTMLElement insertCell(int index)
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
Insert an empty TD cell into this row. If index is -1 or equal to the number of cells, the new cell is appended.

Specified by:
insertCell in interface org.w3c.dom.html2.HTMLTableRowElement

deleteCell

public void deleteCell(int index)
Description copied from interface: org.w3c.dom.html2.HTMLTableRowElement
Delete a cell from the current row.

Specified by:
deleteCell in interface org.w3c.dom.html2.HTMLTableRowElement

getCell

org.w3c.dom.Node getCell(int index)