JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.javascript.host.html

Class HTMLIFrameElement

    • Constructor Detail

      • HTMLIFrameElement

        public HTMLIFrameElement()
    • Method Detail

      • getSrc

        public String getSrc()
        Returns the value of URL loaded in the frame.
        Returns:
        the value of this attribute
      • setSrc

        public void setSrc(String src)
        Sets the value of the source of the contained frame.
        Parameters:
        src - the new value
      • getContentDocument

        public DocumentProxy getContentDocument()
        Returns the document the frame contains, if any.
        Returns:
        null if no document is contained
        See Also:
        Gecko DOM Reference
      • getName

        public String getName()
        Returns the value of the name attribute.
        Overrides:
        getName in class HTMLElement
        Returns:
        the value of this attribute
      • setName

        public void setName(String name)
        Sets the value of the name attribute.
        Overrides:
        setName in class HTMLElement
        Parameters:
        name - the new value
      • setOnload

        public void setOnload(Object eventHandler)
        Sets the onload event handler for this element.
        Overrides:
        setOnload in class HTMLElement
        Parameters:
        eventHandler - the onload event handler for this element
      • getAlign

        public String getAlign()
        Returns the value of the align property.
        Returns:
        the value of the align property
      • setAlign

        public void setAlign(String align)
        Sets the value of the align property.
        Parameters:
        align - the value of the align property
      • getWidth_js

        public String getWidth_js()
        Returns the value of the width property.
        Returns:
        the value of the width property
      • setWidth_js

        public void setWidth_js(String width)
        Sets the value of the width property.
        Parameters:
        width - the value of the width property
      • getHeight_js

        public String getHeight_js()
        Returns the value of the width property.
        Returns:
        the value of the width property
      • setHeight_js

        public void setHeight_js(String height)
        Sets the value of the height property.
        Parameters:
        height - the value of the height property
      • onRefresh

        public void onRefresh()
        To be called when the frame is being refreshed.
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /