Interface HTMLIFrameElement

All Superinterfaces:
Element, HTMLElement, Node

public interface HTMLIFrameElement extends HTMLElement
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 Details Link icon

    • getAlign Link icon

      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.
    • setAlign Link icon

      void setAlign(String align)
    • getFrameBorder Link icon

      String getFrameBorder()
      Request frame borders. See the frameborder attribute definition in HTML 4.0.
    • setFrameBorder Link icon

      void setFrameBorder(String frameBorder)
    • getHeight Link icon

      String getHeight()
      Frame height. See the height attribute definition in HTML 4.0.
    • setHeight Link icon

      void setHeight(String height)
    • getLongDesc Link icon

      String getLongDesc()
      URI designating a long description of this image or frame. See the longdesc attribute definition in HTML 4.0.
    • setLongDesc Link icon

      void setLongDesc(String longDesc)
    • getMarginHeight Link icon

      String getMarginHeight()
      Frame margin height, in pixels. See the marginheight attribute definition in HTML 4.0.
    • setMarginHeight Link icon

      void setMarginHeight(String marginHeight)
    • getMarginWidth Link icon

      String getMarginWidth()
      Frame margin width, in pixels. See the marginwidth attribute definition in HTML 4.0.
    • setMarginWidth Link icon

      void setMarginWidth(String marginWidth)
    • getName Link icon

      String getName()
      The frame name (object of the target attribute). See the name attribute definition in HTML 4.0.
    • setName Link icon

      void setName(String name)
    • getScrolling Link icon

      String getScrolling()
      Specify whether or not the frame should have scrollbars. See the scrolling attribute definition in HTML 4.0.
    • setScrolling Link icon

      void setScrolling(String scrolling)
    • getSrc Link icon

      String getSrc()
      A URI designating the initial frame contents. See the src attribute definition in HTML 4.0.
    • setSrc Link icon

      void setSrc(String src)
    • getWidth Link icon

      String getWidth()
      Frame width. See the width attribute definition in HTML 4.0.
    • setWidth Link icon

      void setWidth(String width)
    • getContentDocument Link icon

      Document getContentDocument()
      The document this frame contains, if there is any and it is available, or null otherwise.
      Since:
      1.4, DOM Level 2