java.lang.Object
gnu.xml.dom.DomNode
gnu.xml.dom.DomNsNode
gnu.xml.dom.DomElement
gnu.xml.dom.html2.DomHTMLElement
gnu.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 classes inherited from class gnu.xml.dom.DomNode |
|
| 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 |
| 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.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 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 |
DomHTMLTableRowElement
protected DomHTMLTableRowElement(DomHTMLDocument owner,
java.lang.String namespaceURI,
java.lang.String name)
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)