APIdia Launch Partner
Top Description Methods
org.w3c.dom.html

public Interface HTMLFrameElement

extends HTMLElement
Imports
org.w3c.dom.Document

Create a frame. See the FRAME element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Since
1.4, DOM Level 2

Method Summary

Modifier and TypeMethod and Description
public Document
getContentDocument()

The document this frame contains, if there is any and it is available, or null otherwise.

public String
getFrameBorder()

Request frame borders.

public String
getLongDesc()

URI designating a long description of this image or frame.

public String
getMarginHeight()

Frame margin height, in pixels.

public String
getMarginWidth()

Frame margin width, in pixels.

public String
getName()

The frame name (object of the target attribute).

public boolean
getNoResize()

When true, forbid user from resizing frame.

public String
getScrolling()

Specify whether or not the frame should have scrollbars.

public String
getSrc()

A URI designating the initial frame contents.

public void
setFrameBorder(String frameBorder)

public void
setLongDesc(String longDesc)

public void
setMarginHeight(String marginHeight)

public void
setMarginWidth(String marginWidth)

public void
public void
setNoResize(boolean noResize)

public void
setScrolling(String scrolling)

public void
Inherited from org.w3c.dom.html.HTMLElement:
getClassNamegetDirgetIdgetLanggetTitlesetClassNamesetDirsetIdsetLangsetTitle

Method Detail

getContentDocumentback to summary
public Document getContentDocument()

The document this frame contains, if there is any and it is available, or null otherwise.

Since
1.4, DOM Level 2
getFrameBorderback to summary
public String getFrameBorder()

Request frame borders. See the frameborder attribute definition in HTML 4.0.

getLongDescback to summary
public String getLongDesc()

URI designating a long description of this image or frame. See the longdesc attribute definition in HTML 4.0.

getMarginHeightback to summary
public String getMarginHeight()

Frame margin height, in pixels. See the marginheight attribute definition in HTML 4.0.

getMarginWidthback to summary
public String getMarginWidth()

Frame margin width, in pixels. See the marginwidth attribute definition in HTML 4.0.

getNameback to summary
public String getName()

The frame name (object of the target attribute). See the name attribute definition in HTML 4.0.

getNoResizeback to summary
public boolean getNoResize()

When true, forbid user from resizing frame. See the noresize attribute definition in HTML 4.0.

getScrollingback to summary
public String getScrolling()

Specify whether or not the frame should have scrollbars. See the scrolling attribute definition in HTML 4.0.

getSrcback to summary
public String getSrc()

A URI designating the initial frame contents. See the src attribute definition in HTML 4.0.

setFrameBorderback to summary
public void setFrameBorder(String frameBorder)
setLongDescback to summary
public void setLongDesc(String longDesc)
setMarginHeightback to summary
public void setMarginHeight(String marginHeight)
setMarginWidthback to summary
public void setMarginWidth(String marginWidth)
setNameback to summary
public void setName(String name)
setNoResizeback to summary
public void setNoResize(boolean noResize)
setScrollingback to summary
public void setScrolling(String scrolling)
setSrcback to summary
public void setSrc(String src)