org.enhydra.apache.html.dom
Class HTMLTableRowElementImpl

java.lang.Object
  |
  +--org.enhydra.apache.xerces.dom.NodeImpl
        |
        +--org.enhydra.apache.xerces.dom.ChildNode
              |
              +--org.enhydra.apache.xerces.dom.ParentNode
                    |
                    +--org.enhydra.apache.xerces.dom.ElementImpl
                          |
                          +--org.enhydra.apache.html.dom.HTMLElementImpl
                                |
                                +--org.enhydra.apache.html.dom.HTMLTableRowElementImpl
All Implemented Interfaces:
Cloneable, Element, EventTarget, HTMLElement, HTMLTableRowElement, Node, NodeList, Serializable

public class HTMLTableRowElementImpl
extends HTMLElementImpl
implements HTMLTableRowElement

Version:
$Revision: 1.3 $ $Date: 2005/01/26 08:28:44 $
Author:
Assaf Arkin
See Also:
HTMLTableRowElement, ElementImpl, Serialized Form

Field Summary
(package private)  HTMLCollection _cells
           
 
Fields inherited from class org.enhydra.apache.xerces.dom.ElementImpl
attributes, name, serialVersionUID
 
Fields inherited from class org.enhydra.apache.xerces.dom.ParentNode
fCachedChild, fCachedChildIndex, fCachedLength, firstChild, ownerDocument
 
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, UNNORMALIZED
 
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
HTMLTableRowElementImpl(HTMLDocumentImpl owner, String name)
          Constructor requires owner document.
 
Method Summary
 Node cloneNode(boolean deep)
          Explicit implementation of cloneNode() to ensure that cache used for getCells() gets cleared.
 void deleteCell(int index)
           
 String getAlign()
           
 String getBgColor()
           
 HTMLCollection getCells()
           
 String getCh()
           
 String getChOff()
           
 int getRowIndex()
           
(package private)  int getRowIndex(Node parent)
           
 int getSectionRowIndex()
           
 String getVAlign()
           
 HTMLElement insertCell(int index)
           
 void setAlign(String align)
           
 void setBgColor(String bgColor)
           
 void setCells(HTMLCollection cells)
           
 void setCh(String ch)
           
 void setChOff(String chOff)
           
 void setRowIndex(int rowIndex)
           
 void setSectionRowIndex(int sectionRowIndex)
           
 void setVAlign(String vAlign)
           
 
Methods inherited from class org.enhydra.apache.html.dom.HTMLElementImpl
capitalize, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBinary, getCapitalized, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getInteger, getLang, getTitle, setAttribute, setClassName, setDir, setId, setLang, setTitle
 
Methods inherited from class org.enhydra.apache.xerces.dom.ElementImpl
getAttributes, getDefaultAttributes, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, synchronizeData
 
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, insertBefore, internalInsertBefore, internalRemoveChild, item, lastChild, lastChild, ownerDocument, removeChild, replaceChild, synchronizeChildren
 
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling, parentNode, previousSibling
 
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, dispatchEvent, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getTextContent, getUserData, getUserData, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isEqualNode, isFirstChild, isFirstChild, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setNodeValue, setPrefix, setTextContent, setUserData, setUserData, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.html.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, 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
 

Field Detail

_cells

HTMLCollection _cells
Constructor Detail

HTMLTableRowElementImpl

public HTMLTableRowElementImpl(HTMLDocumentImpl owner,
                               String name)
Constructor requires owner document.
Parameters:
owner - The owner HTML document
Method Detail

getRowIndex

public int getRowIndex()
Specified by:
getRowIndex in interface HTMLTableRowElement

setRowIndex

public void setRowIndex(int rowIndex)
Specified by:
setRowIndex in interface HTMLTableRowElement

getSectionRowIndex

public int getSectionRowIndex()
Specified by:
getSectionRowIndex in interface HTMLTableRowElement

setSectionRowIndex

public void setSectionRowIndex(int sectionRowIndex)
Specified by:
setSectionRowIndex in interface HTMLTableRowElement

getRowIndex

int getRowIndex(Node parent)

getCells

public HTMLCollection getCells()
Specified by:
getCells in interface HTMLTableRowElement

setCells

public void setCells(HTMLCollection cells)
Specified by:
setCells in interface HTMLTableRowElement

insertCell

public HTMLElement insertCell(int index)
Specified by:
insertCell in interface HTMLTableRowElement

deleteCell

public void deleteCell(int index)
Specified by:
deleteCell in interface HTMLTableRowElement

getAlign

public String getAlign()
Specified by:
getAlign in interface HTMLTableRowElement

setAlign

public void setAlign(String align)
Specified by:
setAlign in interface HTMLTableRowElement

getBgColor

public String getBgColor()
Specified by:
getBgColor in interface HTMLTableRowElement

setBgColor

public void setBgColor(String bgColor)
Specified by:
setBgColor in interface HTMLTableRowElement

getCh

public String getCh()
Specified by:
getCh in interface HTMLTableRowElement

setCh

public void setCh(String ch)
Specified by:
setCh in interface HTMLTableRowElement

getChOff

public String getChOff()
Specified by:
getChOff in interface HTMLTableRowElement

setChOff

public void setChOff(String chOff)
Specified by:
setChOff in interface HTMLTableRowElement

getVAlign

public String getVAlign()
Specified by:
getVAlign in interface HTMLTableRowElement

setVAlign

public void setVAlign(String vAlign)
Specified by:
setVAlign in interface HTMLTableRowElement

cloneNode

public Node cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getCells() gets cleared.
Specified by:
cloneNode in interface Node
Overrides:
cloneNode in class ElementImpl
Following copied from class: org.enhydra.apache.xerces.dom.ElementImpl
See Also:
Node.cloneNode(boolean)


Copyright © 1999 The Apache Software Foundation. All Rights reserved.