org.lobobrowser.html.domimpl

Class HTMLTableElementImpl

Implemented Interfaces:
Element, CSS2PropertiesContext, HTMLElement, HTMLTableElement, Node, ModelNode, ScriptableDelegate

public class HTMLTableElementImpl
extends HTMLAbstractUIElement
implements 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

Constructor Summary

HTMLTableElementImpl()
HTMLTableElementImpl(String name)

Method Summary

HTMLElement
createCaption()
protected RenderState
createRenderState(RenderState prevRenderState)
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()
HtmlLength
getHeightLength(int availHeight)
HTMLCollection
getRows()
String
getRules()
String
getSummary()
HTMLCollection
getTBodies()
HTMLTableSectionElement
getTFoot()
HTMLTableSectionElement
getTHead()
String
getWidth()
HtmlLength
getWidthLength(int availWidth)
HTMLElement
insertRow(int index)
Inserts a row at the index given.
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.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, assignAttributeField, createRenderState, findStyleDeclarations, forgetLocalStyle, forgetStyle, getAncestor, getAncestorForJavaClass, getAncestorWithClass, getAncestorWithId, getAttributeAsBoolean, getAttributeAsInt, getCharset, getClassName, getComputedStyle, getCssInputSourceForDecl, getCurrentStyle, getDocumentBaseURI, getFormInputs, getOffsetHeight, getOffsetLeft, getOffsetTop, getOffsetWidth, getOuterHTML, getParentStyle, getPseudoNames, getStyle, informInvalid, informInvalidAttibute, informLayoutInvalid, setCharset, setClassName, setCurrentStyle, setInnerHTML, setMouseOver, setStyle, toString, warn, warn

Methods inherited from class org.lobobrowser.html.domimpl.ElementImpl

appendInnerTextImpl, assignAttributeField, createSimilarNode, equalAttributes, getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getAttributes, getDir, getElementsByTagName, getElementsByTagNameNS, getId, getInnerText, getLang, getLocalName, getNodeName, getNodeType, getNodeValue, getRawInnerText, getSchemaTypeInfo, getTagName, getTitle, hasAttribute, hasAttributeNS, hasAttributes, isTagName, normalizeAttributeName, removeAttribute, removeAttributeNS, removeAttributeNode, setAttribute, setAttributeImpl, setAttributeNS, setAttributeNode, setAttributeNodeNS, setDir, setId, setIdAttribute, setIdAttributeNS, setIdAttributeNode, setInnerText, setLang, setNodeValue, setTitle, toString

Methods inherited from class org.lobobrowser.html.domimpl.NodeImpl

appendChild, appendInnerHTMLImpl, cloneNode, compareDocumentPosition, createRenderState, createSimilarNode, equalAttributes, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getAttributes, getBaseURI, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getDocumentURL, getFeature, getFirstChild, getFullURL, getHtmlRendererContext, getInnerHTML, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeList, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousSibling, getRenderState, getTextContent, getUINode, getUserAgentContext, getUserData, hasAttributes, hasChildNodes, informExternalScriptLoading, informInvalid, 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, setNodeValue, setPrefix, setTextContent, setUINode, setUserData, toString, warn, warn

Methods inherited from class org.lobobrowser.js.AbstractScriptableDelegate

getScriptable, setScriptable

Constructor Details

HTMLTableElementImpl

public HTMLTableElementImpl()

HTMLTableElementImpl

public HTMLTableElementImpl(String name)

Method Details

createCaption

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

createRenderState

protected RenderState createRenderState(RenderState prevRenderState)
Overrides:
createRenderState in interface HTMLElementImpl

createTFoot

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

createTHead

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

deleteCaption

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

deleteRow

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

deleteTFoot

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

deleteTHead

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

getAlign

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

getBgColor

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

getBorder

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

getCaption

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

getCellPadding

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

getCellSpacing

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

getFrame

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

getHeightLength

public HtmlLength getHeightLength(int availHeight)

getRows

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

getRules

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

getSummary

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

getTBodies

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

getTFoot

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

getTHead

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

getWidth

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

getWidthLength

public HtmlLength getWidthLength(int availWidth)

insertRow

public HTMLElement insertRow(int index)
            throws 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 HTMLTableElement

setAlign

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

setBgColor

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

setBorder

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

setCaption

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

setCellPadding

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

setCellSpacing

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

setFrame

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

setRules

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

setSummary

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

setTFoot

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

setTHead

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

setWidth

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