Interface HTMLIFrameElement

All Superinterfaces:
Element, EventTarget, HTMLElement, InnerHTML, Node, NonDocumentTypeChildNode, ParentNode
All Known Implementing Classes:
HTMLIFrameElementImpl

public interface HTMLIFrameElement extends HTMLElement
Provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements.
  • Method Details

    • getAlign

      @Deprecated String getAlign()
      Deprecated.
      Sets or retrieves how the object is aligned with adjacent text.
      Returns:
      a String object.
    • setAlign

      void setAlign(String align)

      setAlign.

      Parameters:
      align - a String object.
    • getAllow

      String getAllow()

      getAllow.

      Returns:
      a String object.
    • setAllow

      void setAllow(String allow)

      setAllow.

      Parameters:
      allow - a String object.
    • isAllowFullscreen

      boolean isAllowFullscreen()

      isAllowFullscreen.

      Returns:
      a boolean.
    • setAllowFullscreen

      void setAllowFullscreen(boolean allowFullscreen)

      setAllowFullscreen.

      Parameters:
      allowFullscreen - a boolean.
    • isAllowPaymentRequest

      boolean isAllowPaymentRequest()

      isAllowPaymentRequest.

      Returns:
      a boolean.
    • setAllowPaymentRequest

      void setAllowPaymentRequest(boolean allowPaymentRequest)

      setAllowPaymentRequest.

      Parameters:
      allowPaymentRequest - a boolean.
    • getContentDocument

      Document getContentDocument()
      Retrieves the document object of the page or frame.
      Returns:
      a Document object.
    • getContentWindow

      WindowProxy getContentWindow()
      Retrieves the object of the specified.
      Returns:
      a WindowProxy object.
    • getFrameBorder

      @Deprecated String getFrameBorder()
      Deprecated.
      Sets or retrieves whether to display a border for the frame.
      Returns:
      a String object.
    • setFrameBorder

      void setFrameBorder(String frameBorder)

      setFrameBorder.

      Parameters:
      frameBorder - a String object.
    • getHeight

      String getHeight()
      Sets or retrieves the height of the object.
      Returns:
      a String object.
    • setHeight

      void setHeight(String height)

      setHeight.

      Parameters:
      height - a String object.
    • getLongDesc

      @Deprecated String getLongDesc()
      Deprecated.
      Sets or retrieves a URI to a long description of the object.
      Returns:
      a String object.
    • setLongDesc

      void setLongDesc(String longDesc)

      setLongDesc.

      Parameters:
      longDesc - a String object.
    • getMarginHeight

      @Deprecated String getMarginHeight()
      Deprecated.
      Sets or retrieves the top and bottom margin heights before displaying the text in a frame.
      Returns:
      a String object.
    • setMarginHeight

      void setMarginHeight(String marginHeight)

      setMarginHeight.

      Parameters:
      marginHeight - a String object.
    • getMarginWidth

      @Deprecated String getMarginWidth()
      Deprecated.
      Sets or retrieves the left and right margin widths before displaying the text in a frame.
      Returns:
      a String object.
    • setMarginWidth

      void setMarginWidth(String marginWidth)

      setMarginWidth.

      Parameters:
      marginWidth - a String object.
    • getName

      String getName()
      Sets or retrieves the frame name.
      Returns:
      a String object.
    • setName

      void setName(String name)

      setName.

      Parameters:
      name - a String object.
    • getSandbox

      DOMTokenList getSandbox()

      getSandbox.

      Returns:
      a DOMTokenList object.
    • getScrolling

      @Deprecated String getScrolling()
      Deprecated.
      Sets or retrieves whether the frame can be scrolled.
      Returns:
      a String object.
    • setScrolling

      void setScrolling(String scrolling)

      setScrolling.

      Parameters:
      scrolling - a String object.
    • getSrc

      String getSrc()
      Sets or retrieves a URL to be loaded by the object.
      Returns:
      a String object.
    • setSrc

      void setSrc(String src)

      setSrc.

      Parameters:
      src - a String object.
    • getSrcdoc

      String getSrcdoc()
      Sets or retrives the content of the page that is to contain.
      Returns:
      a String object.
    • setSrcdoc

      void setSrcdoc(String srcdoc)

      setSrcdoc.

      Parameters:
      srcdoc - a String object.
    • getWidth

      String getWidth()
      Sets or retrieves the width of the object.
      Returns:
      a String object.
    • setWidth

      void setWidth(String width)

      setWidth.

      Parameters:
      width - a String object.
    • getSVGDocument

      Document getSVGDocument()

      getSVGDocument.

      Returns:
      a Document object.