org.lobobrowser.html.domimpl

Class HTMLIFrameElementImpl

Implemented Interfaces:
Element, CSS2PropertiesContext, Element, FrameNode, HTMLElement, HTMLIFrameElement, Node, ModelNode, ScriptableDelegate

public class HTMLIFrameElementImpl
extends HTMLAbstractUIElement
implements HTMLIFrameElement, FrameNode

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

HTMLIFrameElementImpl(String name)

Method Summary

protected void
assignAttributeField(String normalName, String value)
String
getAlign()
Aligns this object (vertically or horizontally) with respect to its surrounding text.
BrowserFrame
getBrowserFrame()
Document
getContentDocument()
The document this frame contains, if there is any and it is available, or null otherwise.
Window
getContentWindow()
String
getFrameBorder()
Request frame borders.
String
getHeight()
Frame height.
String
getLongDesc()
URI [IETF RFC 2396] designating a long description of this image or frame.
String
getMarginHeight()
Frame margin height, in pixels.
String
getMarginWidth()
Frame margin width, in pixels.
String
getName()
The frame name (object of the target attribute).
String
getScrolling()
Specify whether or not the frame should have scrollbars.
String
getSrc()
A URI [IETF RFC 2396] designating the initial frame contents.
String
getWidth()
Frame width.
void
setAlign(String align)
Aligns this object (vertically or horizontally) with respect to its surrounding text.
void
setBrowserFrame(BrowserFrame frame)
void
setFrameBorder(String frameBorder)
Request frame borders.
void
setHeight(String height)
Frame height.
void
setLongDesc(String longDesc)
URI [IETF RFC 2396] designating a long description of this image or frame.
void
setMarginHeight(String marginHeight)
Frame margin height, in pixels.
void
setMarginWidth(String marginWidth)
Frame margin width, in pixels.
void
setName(String name)
The frame name (object of the target attribute).
void
setScrolling(String scrolling)
Specify whether or not the frame should have scrollbars.
void
setSrc(String src)
A URI [IETF RFC 2396] designating the initial frame contents.
void
setWidth(String width)
Frame 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

HTMLIFrameElementImpl

public HTMLIFrameElementImpl(String name)

Method Details

assignAttributeField

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

getAlign

public String getAlign()
Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getAlign in interface HTMLIFrameElement

getBrowserFrame

public BrowserFrame getBrowserFrame()
Specified by:
getBrowserFrame in interface FrameNode

getContentDocument

public Document getContentDocument()
The document this frame contains, if there is any and it is available, or null otherwise.
Specified by:
getContentDocument in interface HTMLIFrameElement
Since:
DOM Level 2

getContentWindow

public Window getContentWindow()

getFrameBorder

public String getFrameBorder()
Request frame borders. See the frameborder attribute definition in HTML 4.01.
Specified by:
getFrameBorder in interface HTMLIFrameElement

getHeight

public String getHeight()
Frame height. See the height attribute definition in HTML 4.01.
Specified by:
getHeight in interface HTMLIFrameElement

getLongDesc

public String getLongDesc()
URI [IETF RFC 2396] designating a long description of this image or frame. See the longdesc attribute definition in HTML 4.01.
Specified by:
getLongDesc in interface HTMLIFrameElement

getMarginHeight

public String getMarginHeight()
Frame margin height, in pixels. See the marginheight attribute definition in HTML 4.01.
Specified by:
getMarginHeight in interface HTMLIFrameElement

getMarginWidth

public String getMarginWidth()
Frame margin width, in pixels. See the marginwidth attribute definition in HTML 4.01.
Specified by:
getMarginWidth in interface HTMLIFrameElement

getName

public String getName()
The frame name (object of the target attribute). See the name attribute definition in HTML 4.01.
Specified by:
getName in interface HTMLIFrameElement

getScrolling

public String getScrolling()
Specify whether or not the frame should have scrollbars. See the scrolling attribute definition in HTML 4.01.
Specified by:
getScrolling in interface HTMLIFrameElement

getSrc

public String getSrc()
A URI [IETF RFC 2396] designating the initial frame contents. See the src attribute definition in HTML 4.01.
Specified by:
getSrc in interface HTMLIFrameElement

getWidth

public String getWidth()
Frame width. See the width attribute definition in HTML 4.01.
Specified by:
getWidth in interface HTMLIFrameElement

setAlign

public void setAlign(String align)
Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setAlign in interface HTMLIFrameElement

setBrowserFrame

public void setBrowserFrame(BrowserFrame frame)
Specified by:
setBrowserFrame in interface FrameNode

setFrameBorder

public void setFrameBorder(String frameBorder)
Request frame borders. See the frameborder attribute definition in HTML 4.01.
Specified by:
setFrameBorder in interface HTMLIFrameElement

setHeight

public void setHeight(String height)
Frame height. See the height attribute definition in HTML 4.01.
Specified by:
setHeight in interface HTMLIFrameElement

setLongDesc

public void setLongDesc(String longDesc)
URI [IETF RFC 2396] designating a long description of this image or frame. See the longdesc attribute definition in HTML 4.01.
Specified by:
setLongDesc in interface HTMLIFrameElement

setMarginHeight

public void setMarginHeight(String marginHeight)
Frame margin height, in pixels. See the marginheight attribute definition in HTML 4.01.
Specified by:
setMarginHeight in interface HTMLIFrameElement

setMarginWidth

public void setMarginWidth(String marginWidth)
Frame margin width, in pixels. See the marginwidth attribute definition in HTML 4.01.
Specified by:
setMarginWidth in interface HTMLIFrameElement

setName

public void setName(String name)
The frame name (object of the target attribute). See the name attribute definition in HTML 4.01.
Specified by:
setName in interface HTMLIFrameElement

setScrolling

public void setScrolling(String scrolling)
Specify whether or not the frame should have scrollbars. See the scrolling attribute definition in HTML 4.01.
Specified by:
setScrolling in interface HTMLIFrameElement

setSrc

public void setSrc(String src)
A URI [IETF RFC 2396] designating the initial frame contents. See the src attribute definition in HTML 4.01.
Specified by:
setSrc in interface HTMLIFrameElement

setWidth

public void setWidth(String width)
Frame width. See the width attribute definition in HTML 4.01.
Specified by:
setWidth in interface HTMLIFrameElement