org.lobobrowser.html.domimpl
Class HTMLTableRowElementImpl

java.lang.Object
  extended by org.lobobrowser.js.AbstractScriptableDelegate
      extended by org.lobobrowser.html.domimpl.NodeImpl
          extended by org.lobobrowser.html.domimpl.ElementImpl
              extended by org.lobobrowser.html.domimpl.HTMLElementImpl
                  extended by org.lobobrowser.html.domimpl.HTMLTableRowElementImpl
All Implemented Interfaces:
ModelNode, org.lobobrowser.html.style.CSS2PropertiesContext, org.lobobrowser.js.ScriptableDelegate, org.w3c.dom.Element, org.w3c.dom.html2.HTMLElement, org.w3c.dom.html2.HTMLTableRowElement, org.w3c.dom.Node

public class HTMLTableRowElementImpl
extends HTMLElementImpl
implements org.w3c.dom.html2.HTMLTableRowElement


Field Summary
 
Fields inherited from class org.lobobrowser.html.domimpl.ElementImpl
attributes
 
Fields inherited from class org.lobobrowser.html.domimpl.NodeImpl
document, logger, nodeList, notificationsSuspended, parentNode, treeLock, uiNode
 
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()
           
HTMLTableRowElementImpl(java.lang.String name)
           
 
Method Summary
 void deleteCell(int index)
           
 java.lang.String getAlign()
           
 java.lang.String getBgColor()
           
 org.w3c.dom.html2.HTMLCollection getCells()
           
 java.lang.String getCh()
           
 java.lang.String getChOff()
           
 int getRowIndex()
           
 int getSectionRowIndex()
           
 java.lang.String getVAlign()
           
 org.w3c.dom.html2.HTMLElement insertCell(int index)
           
 org.w3c.dom.html2.HTMLElement insertHeader(int index)
          Inserts a TH element at the specified index.
 void setAlign(java.lang.String align)
           
 void setBgColor(java.lang.String bgColor)
           
 void setCh(java.lang.String ch)
           
 void setChOff(java.lang.String chOff)
           
 void setVAlign(java.lang.String vAlign)
           
 
Methods inherited from class org.lobobrowser.html.domimpl.HTMLElementImpl
addStyleSheetDeclarations, appendOuterHTMLImpl, assignAttributeField, createDefaultStyleSheet, createRenderState, findStyleDeclarations, forgetLocalStyle, forgetStyle, getAncestor, getAncestorForJavaClass, getAncestorWithClass, getAncestorWithId, getAttributeAsBoolean, getAttributeAsInt, getCharset, getClassName, getComputedStyle, getCssInputSourceForDecl, getCurrentStyle, getDocumentBaseURI, getFormInputs, getOffsetHeight, getOffsetLeft, getOffsetTop, getOffsetWidth, getOuterHTML, getParent, getParentStyle, getParentWithClass, getParentWithId, getPreceedingSibling, getPreceedingSiblingElement, getPreceedingSiblingWithClass, getPreceedingSiblingWithId, getPseudoNames, getStyle, informInvalid, informInvalidAttibute, setCharset, setClassName, setCurrentStyle, setInnerHTML, setMouseOver, setStyle, toString, warn, warn
 
Methods inherited from class org.lobobrowser.html.domimpl.ElementImpl
createSimilarNode, equalAttributes, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDir, getElementsByTagName, getElementsByTagNameNS, getId, getLang, getLocalName, getNodeName, getNodeType, getNodeValue, getRawInnerText, getSchemaTypeInfo, getTagName, getTitle, hasAttribute, hasAttributeNS, hasAttributes, htmlEncodeChildText, isTagName, normalizeAttributeName, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeImpl, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDir, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerText, setLang, setNodeValue, setTitle
 
Methods inherited from class org.lobobrowser.html.domimpl.NodeImpl
appendChild, appendInnerHTMLImpl, appendInnerTextImpl, cloneNode, compareDocumentPosition, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getBaseURI, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getDocumentURL, getFeature, getFirstChild, getFullURL, getHtmlRendererContext, getInnerHTML, getInnerText, getLastChild, getNamespaceURI, getNextSibling, getNodeList, getOwnerDocument, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousSibling, getRenderState, getTextContent, getUINode, getUserAgentContext, getUserData, hasChildNodes, informDocumentInvalid, informExternalScriptLoading, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualNode, isEqualOrDescendentOf, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenImpl, removeChild, removeChildAt, removeChildren, removeChildrenImpl, replaceAdjacentTextNodes, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setPrefix, setTextContent, setUINode, setUserData
 
Methods inherited from class org.lobobrowser.js.AbstractScriptableDelegate
getScriptable, setScriptable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.html2.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, cloneNode, 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
 
Methods inherited from interface org.lobobrowser.html.style.CSS2PropertiesContext
informLayoutInvalid, informLookInvalid, informPositionInvalid, informSizeInvalid
 

Constructor Detail

HTMLTableRowElementImpl

public HTMLTableRowElementImpl(java.lang.String name)

HTMLTableRowElementImpl

public HTMLTableRowElementImpl()
Method Detail

getRowIndex

public int getRowIndex()
Specified by:
getRowIndex in interface org.w3c.dom.html2.HTMLTableRowElement

getSectionRowIndex

public int getSectionRowIndex()
Specified by:
getSectionRowIndex in interface org.w3c.dom.html2.HTMLTableRowElement

getCells

public org.w3c.dom.html2.HTMLCollection getCells()
Specified by:
getCells in interface org.w3c.dom.html2.HTMLTableRowElement

getAlign

public java.lang.String getAlign()
Specified by:
getAlign in interface org.w3c.dom.html2.HTMLTableRowElement

setAlign

public void setAlign(java.lang.String align)
Specified by:
setAlign in interface org.w3c.dom.html2.HTMLTableRowElement

getBgColor

public java.lang.String getBgColor()
Specified by:
getBgColor in interface org.w3c.dom.html2.HTMLTableRowElement

setBgColor

public void setBgColor(java.lang.String bgColor)
Specified by:
setBgColor in interface org.w3c.dom.html2.HTMLTableRowElement

getCh

public java.lang.String getCh()
Specified by:
getCh in interface org.w3c.dom.html2.HTMLTableRowElement

setCh

public void setCh(java.lang.String ch)
Specified by:
setCh in interface org.w3c.dom.html2.HTMLTableRowElement

getChOff

public java.lang.String getChOff()
Specified by:
getChOff in interface org.w3c.dom.html2.HTMLTableRowElement

setChOff

public void setChOff(java.lang.String chOff)
Specified by:
setChOff in interface org.w3c.dom.html2.HTMLTableRowElement

getVAlign

public java.lang.String getVAlign()
Specified by:
getVAlign in interface org.w3c.dom.html2.HTMLTableRowElement

setVAlign

public void setVAlign(java.lang.String vAlign)
Specified by:
setVAlign in interface org.w3c.dom.html2.HTMLTableRowElement

insertHeader

public org.w3c.dom.html2.HTMLElement insertHeader(int index)
                                           throws org.w3c.dom.DOMException
Inserts a TH element at the specified index.

Note: This method is non-standard.

Parameters:
index - The cell index to insert at.
Returns:
The element that was inserted.
Throws:
org.w3c.dom.DOMException - When the index is out of range.

insertCell

public org.w3c.dom.html2.HTMLElement insertCell(int index)
                                         throws org.w3c.dom.DOMException
Specified by:
insertCell in interface org.w3c.dom.html2.HTMLTableRowElement
Throws:
org.w3c.dom.DOMException

deleteCell

public void deleteCell(int index)
                throws org.w3c.dom.DOMException
Specified by:
deleteCell in interface org.w3c.dom.html2.HTMLTableRowElement
Throws:
org.w3c.dom.DOMException


SourceForge.net LogoCopyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.
[Cobra Project Home]