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

public Interface HTMLIFrameElement

extends HTMLElement
Imports
org.w3c.dom.Document

Inline subwindows. See the IFRAME 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 String
getAlign()

Aligns this object (vertically or horizontally) with respect to its surrounding text.

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
getHeight()

Frame height.

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 String
getScrolling()

Specify whether or not the frame should have scrollbars.

public String
getSrc()

A URI designating the initial frame contents.

public String
getWidth()

Frame width.

public void
public void
setFrameBorder(String frameBorder)

public void
setHeight(String height)

public void
setLongDesc(String longDesc)

public void
setMarginHeight(String marginHeight)

public void
setMarginWidth(String marginWidth)

public void
public void
setScrolling(String scrolling)

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

Method Detail

getAlignback to summary
public String getAlign()

Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

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.

getHeightback to summary
public String getHeight()

Frame height. See the height 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.

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.

getWidthback to summary
public String getWidth()

Frame width. See the width attribute definition in HTML 4.0.

setAlignback to summary
public void setAlign(String align)
setFrameBorderback to summary
public void setFrameBorder(String frameBorder)
setHeightback to summary
public void setHeight(String height)
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)
setScrollingback to summary
public void setScrolling(String scrolling)
setSrcback to summary
public void setSrc(String src)
setWidthback to summary
public void setWidth(String width)