org.enhydra.apache.html.dom
Class HTMLTableElementImpl

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.HTMLTableElementImpl
All Implemented Interfaces:
Cloneable, Element, EventTarget, HTMLElement, HTMLTableElement, Node, NodeList, Serializable

public class HTMLTableElementImpl
extends HTMLElementImpl
implements HTMLTableElement

Version:
$Revision: 1.4 $ $Date: 2006/01/21 05:50:36 $
Author:
Assaf Arkin
See Also:
HTMLAnchorElement, ElementImpl, Serialized Form

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
HTMLTableElementImpl(HTMLDocumentImpl owner, String name)
          Constructor requires owner document.
 
Method Summary
 Node cloneNode(boolean deep)
          Explicit implementation of cloneNode() to ensure that cache used for getRows() and getTBodies() gets cleared.
 HTMLElement createCaption()
           
 HTMLElement createTFoot()
           
 HTMLElement createTHead()
           
 void deleteCaption()
           
 void deleteRow(int index)
           
 void deleteTFoot()
           
 void deleteTHead()
           
 String getAlign()
           
 String getBgColor()
           
 String getBorder()
           
 HTMLTableCaptionElement getCaption()
           
 String getCellPadding()
           
 String getCellSpacing()
           
 String getFrame()
           
 HTMLCollection getRows()
           
 String getRules()
           
 String getSummary()
           
 HTMLCollection getTBodies()
           
 HTMLTableSectionElement getTFoot()
           
 HTMLTableSectionElement getTHead()
           
 String getWidth()
           
 HTMLElement insertRow(int index)
           
(package private)  void insertRowX(int index, HTMLTableRowElementImpl newRow)
           
 void setAlign(String align)
           
 void setBgColor(String bgColor)
           
 void setBorder(String border)
           
 void setCaption(HTMLTableCaptionElement caption)
           
 void setCellPadding(String cellPadding)
           
 void setCellSpacing(String cellSpacing)
           
 void setFrame(String frame)
           
 void setRules(String rules)
           
 void setSummary(String summary)
           
 void setTFoot(HTMLTableSectionElement tFoot)
           
 void setTHead(HTMLTableSectionElement tHead)
           
 void setWidth(String width)
           
 
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
 

Constructor Detail

HTMLTableElementImpl

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

getCaption

public HTMLTableCaptionElement getCaption()
Specified by:
getCaption in interface HTMLTableElement

setCaption

public void setCaption(HTMLTableCaptionElement caption)
Specified by:
setCaption in interface HTMLTableElement

createCaption

public HTMLElement createCaption()
Specified by:
createCaption in interface HTMLTableElement

deleteCaption

public void deleteCaption()
Specified by:
deleteCaption in interface HTMLTableElement

getTHead

public HTMLTableSectionElement getTHead()
Specified by:
getTHead in interface HTMLTableElement

setTHead

public void setTHead(HTMLTableSectionElement tHead)
Specified by:
setTHead in interface HTMLTableElement

createTHead

public HTMLElement createTHead()
Specified by:
createTHead in interface HTMLTableElement

deleteTHead

public void deleteTHead()
Specified by:
deleteTHead in interface HTMLTableElement

getTFoot

public HTMLTableSectionElement getTFoot()
Specified by:
getTFoot in interface HTMLTableElement

setTFoot

public void setTFoot(HTMLTableSectionElement tFoot)
Specified by:
setTFoot in interface HTMLTableElement

createTFoot

public HTMLElement createTFoot()
Specified by:
createTFoot in interface HTMLTableElement

deleteTFoot

public void deleteTFoot()
Specified by:
deleteTFoot in interface HTMLTableElement

getRows

public HTMLCollection getRows()
Specified by:
getRows in interface HTMLTableElement

getTBodies

public HTMLCollection getTBodies()
Specified by:
getTBodies in interface HTMLTableElement

getAlign

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

setAlign

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

getBgColor

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

setBgColor

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

getBorder

public String getBorder()
Specified by:
getBorder in interface HTMLTableElement

setBorder

public void setBorder(String border)
Specified by:
setBorder in interface HTMLTableElement

getCellPadding

public String getCellPadding()
Specified by:
getCellPadding in interface HTMLTableElement

setCellPadding

public void setCellPadding(String cellPadding)
Specified by:
setCellPadding in interface HTMLTableElement

getCellSpacing

public String getCellSpacing()
Specified by:
getCellSpacing in interface HTMLTableElement

setCellSpacing

public void setCellSpacing(String cellSpacing)
Specified by:
setCellSpacing in interface HTMLTableElement

getFrame

public String getFrame()
Specified by:
getFrame in interface HTMLTableElement

setFrame

public void setFrame(String frame)
Specified by:
setFrame in interface HTMLTableElement

getRules

public String getRules()
Specified by:
getRules in interface HTMLTableElement

setRules

public void setRules(String rules)
Specified by:
setRules in interface HTMLTableElement

getSummary

public String getSummary()
Specified by:
getSummary in interface HTMLTableElement

setSummary

public void setSummary(String summary)
Specified by:
setSummary in interface HTMLTableElement

getWidth

public String getWidth()
Specified by:
getWidth in interface HTMLTableElement

setWidth

public void setWidth(String width)
Specified by:
setWidth in interface HTMLTableElement

insertRow

public HTMLElement insertRow(int index)
Specified by:
insertRow in interface HTMLTableElement

insertRowX

void insertRowX(int index,
                HTMLTableRowElementImpl newRow)

deleteRow

public void deleteRow(int index)
Specified by:
deleteRow in interface HTMLTableElement

cloneNode

public Node cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getRows() and getTBodies() 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.