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

Class HTMLFrameElement

    • Constructor Detail

      • HTMLFrameElement

        public HTMLFrameElement()
    • 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
      • isEndTagForbidden

        protected boolean isEndTagForbidden()
        Returns whether the end tag is forbidden or not.
        Overrides:
        isEndTagForbidden in class HTMLElement
        Returns:
        whether the end tag is forbidden or not
        See Also:
        HTML 4 specs
Skip navigation links

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

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