public class HTMLTableRowElementImpl extends HTMLElementImpl implements org.w3c.dom.html.HTMLTableRowElement
HTMLTableRowElement
,
ElementImpl
,
Serialized FormfirstChild, fNodeListCache, ownerDocument
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_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 and Description |
---|
HTMLTableRowElementImpl(HTMLDocumentImpl owner,
java.lang.String name)
Constructor requires owner document.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Node |
cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used
for getCells() gets cleared.
|
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.
|
org.w3c.dom.html.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()
The index of this row, relative to the entire table.
|
int |
getSectionRowIndex()
The index of this row, relative to the current section(
THEAD
, TFOOT , or TBODY ). |
java.lang.String |
getVAlign()
Vertical alignment of data within cells of this row.
|
org.w3c.dom.html.HTMLElement |
insertCell(int index)
Insert an empty
TD cell into this row. |
void |
setAlign(java.lang.String align) |
void |
setBgColor(java.lang.String bgColor) |
void |
setCells(org.w3c.dom.html.HTMLCollection cells) |
void |
setCh(java.lang.String ch) |
void |
setChOff(java.lang.String chOff) |
void |
setRowIndex(int rowIndex) |
void |
setSectionRowIndex(int sectionRowIndex) |
void |
setVAlign(java.lang.String vAlign) |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXercesAttribute, getXMLBaseAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren
getNextSibling, getParentNode, getPreviousSibling
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getLocalName, getNamespaceURI, getNodeNumber, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
appendChild, 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
public HTMLTableRowElementImpl(HTMLDocumentImpl owner, java.lang.String name)
owner
- The owner HTML documentpublic int getRowIndex()
org.w3c.dom.html.HTMLTableRowElement
getRowIndex
in interface org.w3c.dom.html.HTMLTableRowElement
public void setRowIndex(int rowIndex)
setRowIndex
in interface org.w3c.dom.html.HTMLTableRowElement
public int getSectionRowIndex()
org.w3c.dom.html.HTMLTableRowElement
THEAD
, TFOOT
, or TBODY
).getSectionRowIndex
in interface org.w3c.dom.html.HTMLTableRowElement
public void setSectionRowIndex(int sectionRowIndex)
setSectionRowIndex
in interface org.w3c.dom.html.HTMLTableRowElement
public org.w3c.dom.html.HTMLCollection getCells()
org.w3c.dom.html.HTMLTableRowElement
getCells
in interface org.w3c.dom.html.HTMLTableRowElement
public void setCells(org.w3c.dom.html.HTMLCollection cells)
setCells
in interface org.w3c.dom.html.HTMLTableRowElement
public org.w3c.dom.html.HTMLElement insertCell(int index)
org.w3c.dom.html.HTMLTableRowElement
TD
cell into this row.insertCell
in interface org.w3c.dom.html.HTMLTableRowElement
index
- The place to insert the cell.public void deleteCell(int index)
org.w3c.dom.html.HTMLTableRowElement
deleteCell
in interface org.w3c.dom.html.HTMLTableRowElement
index
- The index of the cell to delete.public java.lang.String getAlign()
org.w3c.dom.html.HTMLTableRowElement
getAlign
in interface org.w3c.dom.html.HTMLTableRowElement
public void setAlign(java.lang.String align)
setAlign
in interface org.w3c.dom.html.HTMLTableRowElement
public java.lang.String getBgColor()
org.w3c.dom.html.HTMLTableRowElement
getBgColor
in interface org.w3c.dom.html.HTMLTableRowElement
public void setBgColor(java.lang.String bgColor)
setBgColor
in interface org.w3c.dom.html.HTMLTableRowElement
public java.lang.String getCh()
org.w3c.dom.html.HTMLTableRowElement
getCh
in interface org.w3c.dom.html.HTMLTableRowElement
public void setCh(java.lang.String ch)
setCh
in interface org.w3c.dom.html.HTMLTableRowElement
public java.lang.String getChOff()
org.w3c.dom.html.HTMLTableRowElement
getChOff
in interface org.w3c.dom.html.HTMLTableRowElement
public void setChOff(java.lang.String chOff)
setChOff
in interface org.w3c.dom.html.HTMLTableRowElement
public java.lang.String getVAlign()
org.w3c.dom.html.HTMLTableRowElement
getVAlign
in interface org.w3c.dom.html.HTMLTableRowElement
public void setVAlign(java.lang.String vAlign)
setVAlign
in interface org.w3c.dom.html.HTMLTableRowElement
public org.w3c.dom.Node cloneNode(boolean deep)
cloneNode
in interface org.w3c.dom.Node
cloneNode
in class org.apache.xerces.dom.ElementImpl
deep
- If true
, recursively clone the subtree under
the specified node; if false
, clone only the node
itself (and its attributes, if it is an Element
).Node.cloneNode(boolean)
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.