org.lobobrowser.html.domimpl

Class HTMLBodyElementImpl

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

public class HTMLBodyElementImpl
extends HTMLAbstractUIElement
implements HTMLBodyElement

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

HTMLBodyElementImpl(String name)

Method Summary

protected void
assignAttributeField(String normalName, String value)
protected RenderState
createRenderState(RenderState prevRenderState)
String
getALink()
Color of active links (after mouse-button down, but before mouse-button up).
String
getBackground()
URI [IETF RFC 2396] of the background texture tile image.
String
getBgColor()
Document background color.
String
getLink()
Color of links that are not active and unvisited.
Function
getOnload()
String
getText()
Document text color.
String
getVLink()
Color of links that have been visited by the user.
void
setALink(String aLink)
Color of active links (after mouse-button down, but before mouse-button up).
void
setBackground(String background)
URI [IETF RFC 2396] of the background texture tile image.
void
setBgColor(String bgColor)
Document background color.
void
setLink(String link)
Color of links that are not active and unvisited.
void
setOnload(Function onload)
void
setText(String text)
Document text color.
void
setVLink(String vLink)
Color of links that have been visited by the user.

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

HTMLBodyElementImpl

public HTMLBodyElementImpl(String name)

Method Details

assignAttributeField

protected void assignAttributeField(String normalName,
                                    String value)
Overrides:
assignAttributeField in interface HTMLAbstractUIElement

createRenderState

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

getALink

public String getALink()
Color of active links (after mouse-button down, but before mouse-button up). See the alink attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getALink in interface HTMLBodyElement

getBackground

public String getBackground()
URI [IETF RFC 2396] of the background texture tile image. See the background attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getBackground in interface HTMLBodyElement

getBgColor

public String getBgColor()
Document background color. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getBgColor in interface HTMLBodyElement

getLink

public String getLink()
Color of links that are not active and unvisited. See the link attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getLink in interface HTMLBodyElement

getOnload

public Function getOnload()

getText

public String getText()
Document text color. See the text attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getText in interface HTMLBodyElement

getVLink

public String getVLink()
Color of links that have been visited by the user. See the vlink attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getVLink in interface HTMLBodyElement

setALink

public void setALink(String aLink)
Color of active links (after mouse-button down, but before mouse-button up). See the alink attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setALink in interface HTMLBodyElement

setBackground

public void setBackground(String background)
URI [IETF RFC 2396] of the background texture tile image. See the background attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setBackground in interface HTMLBodyElement

setBgColor

public void setBgColor(String bgColor)
Document background color. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setBgColor in interface HTMLBodyElement

setLink

public void setLink(String link)
Color of links that are not active and unvisited. See the link attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setLink in interface HTMLBodyElement

setOnload

public void setOnload(Function onload)

setText

public void setText(String text)
Document text color. See the text attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setText in interface HTMLBodyElement

setVLink

public void setVLink(String vLink)
Color of links that have been visited by the user. See the vlink attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setVLink in interface HTMLBodyElement