org.lobobrowser.html.domimpl
Class HTMLTableElementImpl

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.HTMLAbstractUIElement
                      extended by org.lobobrowser.html.domimpl.HTMLTableElementImpl
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.HTMLTableElement, org.w3c.dom.Node

public class HTMLTableElementImpl
extends HTMLAbstractUIElement
implements org.w3c.dom.html2.HTMLTableElement


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
HTMLTableElementImpl()
           
HTMLTableElementImpl(java.lang.String name)
           
 
Method Summary
 org.w3c.dom.html2.HTMLElement createCaption()
           
protected  org.lobobrowser.html.style.RenderState createRenderState(org.lobobrowser.html.style.RenderState prevRenderState)
           
 org.w3c.dom.html2.HTMLElement createTFoot()
           
 org.w3c.dom.html2.HTMLElement createTHead()
           
 void deleteCaption()
           
 void deleteRow(int index)
           
 void deleteTFoot()
           
 void deleteTHead()
           
 java.lang.String getAlign()
           
 java.lang.String getBgColor()
           
 java.lang.String getBorder()
           
 org.w3c.dom.html2.HTMLTableCaptionElement getCaption()
           
 java.lang.String getCellPadding()
           
 java.lang.String getCellSpacing()
           
 java.lang.String getFrame()
           
 org.lobobrowser.html.style.HtmlLength getHeightLength(int availHeight)
           
 org.w3c.dom.html2.HTMLCollection getRows()
           
 java.lang.String getRules()
           
 java.lang.String getSummary()
           
 org.w3c.dom.html2.HTMLCollection getTBodies()
           
 org.w3c.dom.html2.HTMLTableSectionElement getTFoot()
           
 org.w3c.dom.html2.HTMLTableSectionElement getTHead()
           
 java.lang.String getWidth()
           
 org.lobobrowser.html.style.HtmlLength getWidthLength(int availWidth)
           
 org.w3c.dom.html2.HTMLElement insertRow(int index)
          Inserts a row at the index given.
 void setAlign(java.lang.String align)
           
 void setBgColor(java.lang.String bgColor)
           
 void setBorder(java.lang.String border)
           
 void setCaption(org.w3c.dom.html2.HTMLTableCaptionElement caption)
           
 void setCellPadding(java.lang.String cellPadding)
           
 void setCellSpacing(java.lang.String cellSpacing)
           
 void setFrame(java.lang.String frame)
           
 void setRules(java.lang.String rules)
           
 void setSummary(java.lang.String summary)
           
 void setTFoot(org.w3c.dom.html2.HTMLTableSectionElement tFoot)
           
 void setTHead(org.w3c.dom.html2.HTMLTableSectionElement tHead)
           
 void setWidth(java.lang.String width)
           
 
Methods inherited from class org.lobobrowser.html.domimpl.HTMLAbstractUIElement
assignAttributeField, blur, focus, getEventFunction, getOnblur, getOnclick, getOncontextmenu, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, setOnblur, setOnclick, setOncontextmenu, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup
 
Methods inherited from class org.lobobrowser.html.domimpl.HTMLElementImpl
addStyleSheetDeclarations, appendOuterHTMLImpl, createDefaultStyleSheet, 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

HTMLTableElementImpl

public HTMLTableElementImpl()

HTMLTableElementImpl

public HTMLTableElementImpl(java.lang.String name)
Method Detail

getCaption

public org.w3c.dom.html2.HTMLTableCaptionElement getCaption()
Specified by:
getCaption in interface org.w3c.dom.html2.HTMLTableElement

setCaption

public void setCaption(org.w3c.dom.html2.HTMLTableCaptionElement caption)
                throws org.w3c.dom.DOMException
Specified by:
setCaption in interface org.w3c.dom.html2.HTMLTableElement
Throws:
org.w3c.dom.DOMException

getTHead

public org.w3c.dom.html2.HTMLTableSectionElement getTHead()
Specified by:
getTHead in interface org.w3c.dom.html2.HTMLTableElement

setTHead

public void setTHead(org.w3c.dom.html2.HTMLTableSectionElement tHead)
              throws org.w3c.dom.DOMException
Specified by:
setTHead in interface org.w3c.dom.html2.HTMLTableElement
Throws:
org.w3c.dom.DOMException

getTFoot

public org.w3c.dom.html2.HTMLTableSectionElement getTFoot()
Specified by:
getTFoot in interface org.w3c.dom.html2.HTMLTableElement

setTFoot

public void setTFoot(org.w3c.dom.html2.HTMLTableSectionElement tFoot)
              throws org.w3c.dom.DOMException
Specified by:
setTFoot in interface org.w3c.dom.html2.HTMLTableElement
Throws:
org.w3c.dom.DOMException

getRows

public org.w3c.dom.html2.HTMLCollection getRows()
Specified by:
getRows in interface org.w3c.dom.html2.HTMLTableElement

getTBodies

public org.w3c.dom.html2.HTMLCollection getTBodies()
Specified by:
getTBodies in interface org.w3c.dom.html2.HTMLTableElement

getAlign

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

setAlign

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

getBgColor

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

setBgColor

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

getBorder

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

setBorder

public void setBorder(java.lang.String border)
Specified by:
setBorder in interface org.w3c.dom.html2.HTMLTableElement

getCellPadding

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

setCellPadding

public void setCellPadding(java.lang.String cellPadding)
Specified by:
setCellPadding in interface org.w3c.dom.html2.HTMLTableElement

getCellSpacing

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

setCellSpacing

public void setCellSpacing(java.lang.String cellSpacing)
Specified by:
setCellSpacing in interface org.w3c.dom.html2.HTMLTableElement

getFrame

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

setFrame

public void setFrame(java.lang.String frame)
Specified by:
setFrame in interface org.w3c.dom.html2.HTMLTableElement

getRules

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

setRules

public void setRules(java.lang.String rules)
Specified by:
setRules in interface org.w3c.dom.html2.HTMLTableElement

getSummary

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

setSummary

public void setSummary(java.lang.String summary)
Specified by:
setSummary in interface org.w3c.dom.html2.HTMLTableElement

getWidth

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

setWidth

public void setWidth(java.lang.String width)
Specified by:
setWidth in interface org.w3c.dom.html2.HTMLTableElement

getHeightLength

public org.lobobrowser.html.style.HtmlLength getHeightLength(int availHeight)

getWidthLength

public org.lobobrowser.html.style.HtmlLength getWidthLength(int availWidth)

createTHead

public org.w3c.dom.html2.HTMLElement createTHead()
Specified by:
createTHead in interface org.w3c.dom.html2.HTMLTableElement

deleteTHead

public void deleteTHead()
Specified by:
deleteTHead in interface org.w3c.dom.html2.HTMLTableElement

createTFoot

public org.w3c.dom.html2.HTMLElement createTFoot()
Specified by:
createTFoot in interface org.w3c.dom.html2.HTMLTableElement

deleteTFoot

public void deleteTFoot()
Specified by:
deleteTFoot in interface org.w3c.dom.html2.HTMLTableElement

createCaption

public org.w3c.dom.html2.HTMLElement createCaption()
Specified by:
createCaption in interface org.w3c.dom.html2.HTMLTableElement

deleteCaption

public void deleteCaption()
Specified by:
deleteCaption in interface org.w3c.dom.html2.HTMLTableElement

insertRow

public org.w3c.dom.html2.HTMLElement insertRow(int index)
                                        throws org.w3c.dom.DOMException
Inserts a row at the index given. If index is -1, the row is appended as the last row.

Specified by:
insertRow in interface org.w3c.dom.html2.HTMLTableElement
Throws:
org.w3c.dom.DOMException

deleteRow

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

createRenderState

protected org.lobobrowser.html.style.RenderState createRenderState(org.lobobrowser.html.style.RenderState prevRenderState)
Overrides:
createRenderState in class HTMLElementImpl


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