org.enhydra.xml.lazydom.html
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.xml.lazydom.LazyElementNoNS
                                |
                                +--org.enhydra.xml.lazydom.html.LazyHTMLElement
                                      |
                                      +--org.enhydra.xml.lazydom.html.HTMLTableRowElementImpl
All Implemented Interfaces:
Cloneable, Element, EventTarget, HTMLElement, HTMLTableRowElement, LazyElement, LazyNode, LazyParent, Node, NodeList, PreFormattedText, Serializable, TypeInfo

public class HTMLTableRowElementImpl
extends LazyHTMLElement
implements HTMLTableRowElement

Version:
$Revision: 1.5 $ $Date: 2006/09/25 04:36:43 $
Author:
Assaf Arkin
See Also:
HTMLTableRowElement, LazyElement, Serialized Form

Inner classes inherited from class org.enhydra.apache.xerces.dom.ParentNode
org.enhydra.apache.xerces.dom.ParentNode.UserDataRecord
 
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
firstChild, fNodeListCache, ownerDocument
 
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl
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
 
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
 
Fields inherited from interface org.enhydra.xml.lazydom.LazyNode
DOCUMENT_NODE_ID, NULL_NODE_ID
 
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
 
Constructor Summary
HTMLTableRowElementImpl(LazyHTMLDocument owner, LazyElement template, 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.xml.lazydom.html.LazyHTMLElement
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.xml.lazydom.LazyElementNoNS
appendChild, appendChildWhileExpanding, areAttributesExpanded, areChildrenExpanded, expandChildren, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeId, getParentNode, getPreFormattedText, getPreviousSibling, getTemplateElement, getTemplateNode, hasChildNodes, insertBefore, isParentExpanded, isTemplateNode, makeTemplateNode, makeTemplateNode, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setChildrenExpanded, setNodeValue, setParentExpanded, setParentWhileExpanding, setPreFormattedText, templateClone
 
Methods inherited from class org.enhydra.apache.xerces.dom.ElementImpl
getBaseURI, getDefaultAttributes, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, moveSpecifiedAttributes, reconcileDefaultAttributes, rename, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
 
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodesUnoptimized, getLength, getOwnerDocument, getTextContent, getTextContent, hasTextContent, internalInsertBefore, internalRemoveChild, item, lastChild, lastChild, ownerDocument, setTextContent, synchronizeChildren
 
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode
parentNode, previousSibling
 
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl
addEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getElementAncestor, getFeature, getLocalName, getNamespaceURI, getNodeNumber, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, getUserDataRecord, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isFirstChild, isFirstChild, isIdAttribute, isIdAttribute, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setPrefix, 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(LazyHTMLDocument owner,
                               LazyElement template,
                               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 LazyElementNoNS
Following copied from class: org.enhydra.xml.lazydom.LazyElementNoNS
See Also:
Node.cloneNode(boolean)


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.