org.lobobrowser.html.domimpl

Class HTMLBaseFontElementImpl

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

public class HTMLBaseFontElementImpl
extends HTMLAbstractUIElement
implements HTMLBaseFontElement

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

HTMLBaseFontElementImpl(String name)

Method Summary

protected RenderState
createRenderState(RenderState prevRenderState)
String
getColor()
Font color.
String
getFace()
Font face identifier.
int
getSize()
Computed font size.
void
setColor(String color)
Font color.
void
setFace(String face)
Font face identifier.
void
setSize(int size)
Computed font size.

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

HTMLBaseFontElementImpl

public HTMLBaseFontElementImpl(String name)

Method Details

createRenderState

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

getColor

public String getColor()
Font color. See the color attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getColor in interface HTMLBaseFontElement

getFace

public String getFace()
Font face identifier. See the face attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getFace in interface HTMLBaseFontElement

getSize

public int getSize()
Computed font size. See the size attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getSize in interface HTMLBaseFontElement
Version:
DOM Level 2

setColor

public void setColor(String color)
Font color. See the color attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setColor in interface HTMLBaseFontElement

setFace

public void setFace(String face)
Font face identifier. See the face attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setFace in interface HTMLBaseFontElement

setSize

public void setSize(int size)
Computed font size. See the size attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setSize in interface HTMLBaseFontElement
Version:
DOM Level 2