java.lang.Object
org.htmlunit.cyberneko.xerces.dom.NodeImpl
org.htmlunit.cyberneko.xerces.dom.ChildNode
org.htmlunit.cyberneko.xerces.dom.ParentNode
org.htmlunit.cyberneko.xerces.dom.ElementImpl
org.htmlunit.cyberneko.html.dom.HTMLElementImpl
org.htmlunit.cyberneko.html.dom.HTMLTableElementImpl
- All Implemented Interfaces:
Cloneable,Element,EventTarget,HTMLElement,HTMLTableElement,Node,NodeList,TypeInfo
- Author:
- Assaf Arkin
- See Also:
-
Field Summary
Fields inherited from class org.htmlunit.cyberneko.xerces.dom.ElementImpl
attributes_, name_Fields inherited from class org.htmlunit.cyberneko.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocumentFields inherited from class org.htmlunit.cyberneko.xerces.dom.ChildNode
nextSibling_, previousSibling_Fields inherited from class org.htmlunit.cyberneko.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, FIRSTCHILD, HASSTRING, ID, NORMALIZED, OWNED, ownerNode_, READONLY, SPECIFIED, SYNCCHILDRENFields 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_NODEFields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION -
Constructor Summary
ConstructorsConstructorDescriptionHTMLTableElementImpl(HTMLDocumentImpl owner, String name) Constructor requires owner document. -
Method Summary
Modifier and TypeMethodDescriptioncloneNode(boolean deep) Explicit implementation of cloneNode() to ensure that cache used for getRows() and getTBodies() gets cleared.voidvoiddeleteRow(int index) voidvoidgetAlign()getFrame()getRows()getRules()getTFoot()getTHead()getWidth()insertRow(int index) voidvoidsetBgColor(String bgColor) voidvoidsetCaption(HTMLTableCaptionElement caption) voidsetCellPadding(String cellPadding) voidsetCellSpacing(String cellSpacing) voidvoidvoidsetSummary(String summary) voidsetTFoot(HTMLTableSectionElement tFoot) voidsetTHead(HTMLTableSectionElement tHead) voidMethods inherited from class org.htmlunit.cyberneko.html.dom.HTMLElementImpl
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitleMethods inherited from class org.htmlunit.cyberneko.xerces.dom.ElementImpl
getAttributes, getBaseURI, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXMLBaseAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocumentMethods inherited from class org.htmlunit.cyberneko.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildrenMethods inherited from class org.htmlunit.cyberneko.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSiblingMethods inherited from class org.htmlunit.cyberneko.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, dispatchEvent, getFeature, getLocalName, getNamespaceURI, getNodeNumber, getNodeValue, getPrefix, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, normalize, removeEventListener, setNodeValue, setPrefix, setUserData, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, setIdAttributeNSMethods inherited from interface org.w3c.dom.html.HTMLElement
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitleMethods 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 Details
-
HTMLTableElementImpl
Constructor requires owner document.- Parameters:
owner- The owner HTML document
-
-
Method Details
-
getCaption
- Specified by:
getCaptionin interfaceHTMLTableElement
-
setCaption
- Specified by:
setCaptionin interfaceHTMLTableElement
-
createCaption
- Specified by:
createCaptionin interfaceHTMLTableElement
-
deleteCaption
public void deleteCaption()- Specified by:
deleteCaptionin interfaceHTMLTableElement
-
getTHead
- Specified by:
getTHeadin interfaceHTMLTableElement
-
setTHead
- Specified by:
setTHeadin interfaceHTMLTableElement
-
createTHead
- Specified by:
createTHeadin interfaceHTMLTableElement
-
deleteTHead
public void deleteTHead()- Specified by:
deleteTHeadin interfaceHTMLTableElement
-
getTFoot
- Specified by:
getTFootin interfaceHTMLTableElement
-
setTFoot
- Specified by:
setTFootin interfaceHTMLTableElement
-
createTFoot
- Specified by:
createTFootin interfaceHTMLTableElement
-
deleteTFoot
public void deleteTFoot()- Specified by:
deleteTFootin interfaceHTMLTableElement
-
getRows
- Specified by:
getRowsin interfaceHTMLTableElement
-
getTBodies
- Specified by:
getTBodiesin interfaceHTMLTableElement
-
getAlign
- Specified by:
getAlignin interfaceHTMLTableElement
-
setAlign
- Specified by:
setAlignin interfaceHTMLTableElement
-
getBgColor
- Specified by:
getBgColorin interfaceHTMLTableElement
-
setBgColor
- Specified by:
setBgColorin interfaceHTMLTableElement
-
getBorder
- Specified by:
getBorderin interfaceHTMLTableElement
-
setBorder
- Specified by:
setBorderin interfaceHTMLTableElement
-
getCellPadding
- Specified by:
getCellPaddingin interfaceHTMLTableElement
-
setCellPadding
- Specified by:
setCellPaddingin interfaceHTMLTableElement
-
getCellSpacing
- Specified by:
getCellSpacingin interfaceHTMLTableElement
-
setCellSpacing
- Specified by:
setCellSpacingin interfaceHTMLTableElement
-
getFrame
- Specified by:
getFramein interfaceHTMLTableElement
-
setFrame
- Specified by:
setFramein interfaceHTMLTableElement
-
getRules
- Specified by:
getRulesin interfaceHTMLTableElement
-
setRules
- Specified by:
setRulesin interfaceHTMLTableElement
-
getSummary
- Specified by:
getSummaryin interfaceHTMLTableElement
-
setSummary
- Specified by:
setSummaryin interfaceHTMLTableElement
-
getWidth
- Specified by:
getWidthin interfaceHTMLTableElement
-
setWidth
- Specified by:
setWidthin interfaceHTMLTableElement
-
insertRow
- Specified by:
insertRowin interfaceHTMLTableElement
-
deleteRow
public void deleteRow(int index) - Specified by:
deleteRowin interfaceHTMLTableElement
-
cloneNode
Explicit implementation of cloneNode() to ensure that cache used for getRows() and getTBodies() gets cleared.- Specified by:
cloneNodein interfaceNode- Overrides:
cloneNodein classElementImpl- Parameters:
deep- whether to recursively clone all children in the subtree- Returns:
- the cloned node
- See Also:
-