org.lobobrowser.html.domimpl

Class HTMLFrameElementImpl

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

public class HTMLFrameElementImpl
extends HTMLElementImpl
implements HTMLFrameElement, 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

HTMLFrameElementImpl(String name)
HTMLFrameElementImpl(String name, boolean noStyleSheet)

Method Summary

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
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).
boolean
getNoResize()
When true, forbid user from resizing frame.
String
getScrolling()
Specify whether or not the frame should have scrollbars.
String
getSrc()
A URI [IETF RFC 2396] designating the initial frame contents.
void
setBrowserFrame(BrowserFrame frame)
void
setFrameBorder(String frameBorder)
Request frame borders.
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
setNoResize(boolean noResize)
When true, forbid user from resizing frame.
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.

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

addStyleSheetDeclarations, appendInnerHTMLImpl, appendOuterHTMLImpl, assignAttributeField, createRenderState, findStyleDeclarations, forgetLocalStyle, forgetStyle, getAncestor, getAncestorForJavaClass, getAncestorWithClass, getAncestorWithId, getAttributeAsBoolean, getAttributeAsInt, getCharset, getClassName, getCssInputSourceForDecl, getCurrentStyle, getFormInputs, getInnerHTML, getOffsetHeight, getOffsetLeft, getOffsetTop, getOffsetWidth, getOuterHTML, getParentStyle, 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, cloneNode, compareDocumentPosition, createRenderState, createSimilarNode, equalAttributes, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getAttributes, getBaseURI, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getDocumentURL, getFeature, getFirstChild, getFullURL, getHtmlRendererContext, 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, 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

HTMLFrameElementImpl

public HTMLFrameElementImpl(String name)

HTMLFrameElementImpl

public HTMLFrameElementImpl(String name,
                            boolean noStyleSheet)

Method Details

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 HTMLFrameElement
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 HTMLFrameElement

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 HTMLFrameElement

getMarginHeight

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

getMarginWidth

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

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 HTMLFrameElement

getNoResize

public boolean getNoResize()
When true, forbid user from resizing frame. See the noresize attribute definition in HTML 4.01.
Specified by:
getNoResize in interface HTMLFrameElement

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 HTMLFrameElement

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 HTMLFrameElement

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 HTMLFrameElement

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 HTMLFrameElement

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 HTMLFrameElement

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 HTMLFrameElement

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 HTMLFrameElement

setNoResize

public void setNoResize(boolean noResize)
When true, forbid user from resizing frame. See the noresize attribute definition in HTML 4.01.
Specified by:
setNoResize in interface HTMLFrameElement

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 HTMLFrameElement

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 HTMLFrameElement