com.aspose.html

Class HTMLFrameElement

    • Constructor Detail

      • HTMLFrameElement

        public HTMLFrameElement(com.aspose.html.dom.DOMName name,
                                Document doc)

        Initializes a new instance of the HTMLFrameElement class.

        Parameters:
        name - The DOM name.
        doc - The document.
    • Method Detail

      • getFrameBorder

        @DOMNameAttribute(name="frameBorder")
        public String getFrameBorder()

        Request frame borders. See the frameborder attribute definition in HTML 4.01.

      • setFrameBorder

        @DOMNameAttribute(name="frameBorder")
        public void setFrameBorder(String value)

        Request frame borders. See the frameborder attribute definition in HTML 4.01.

      • getMarginHeight

        @DOMNameAttribute(name="marginHeight")
        public String getMarginHeight()

        Frame margin height, in pixels. See the marginheight attribute definition in HTML 4.01.

      • setMarginHeight

        @DOMNameAttribute(name="marginHeight")
        public void setMarginHeight(String value)

        Frame margin height, in pixels. See the marginheight attribute definition in HTML 4.01.

      • getMarginWidth

        @DOMNameAttribute(name="marginWidth")
        public String getMarginWidth()

        Frame margin width, in pixels. See the marginwidth attribute definition in HTML 4.01.

      • setMarginWidth

        @DOMNameAttribute(name="marginWidth")
        public void setMarginWidth(String value)

        Frame margin width, in pixels. See the marginwidth attribute definition in HTML 4.01.

      • getName

        @DOMNameAttribute(name="name")
        public String getName()

        The frame name (object of the target attribute). See the name attribute definition in HTML 4.01.

      • setName

        @DOMNameAttribute(name="name")
        public void setName(String value)

        The frame name (object of the target attribute). See the name attribute definition in HTML 4.01.

      • getNoResize

        @DOMNameAttribute(name="noResize")
        public boolean getNoResize()

        When true, forbid user from resizing frame. See the noresize attribute definition in HTML 4.01.

      • setNoResize

        @DOMNameAttribute(name="noResize")
        public void setNoResize(boolean value)

        When true, forbid user from resizing frame. See the noresize attribute definition in HTML 4.01.

      • getScrolling

        @DOMNameAttribute(name="scrolling")
        public String getScrolling()

        Specify whether or not the frame should have scrollbars. See the scrolling attribute definition in HTML 4.01.

      • setScrolling

        @DOMNameAttribute(name="scrolling")
        public void setScrolling(String value)

        Specify whether or not the frame should have scrollbars. See the scrolling attribute definition in HTML 4.01.

      • getContentDocument

        @DOMNameAttribute(name="contentDocument")
        public HTMLDocument getContentDocument()

        The document this frame contains, if there is any and it is available, or null otherwise.

        Since:
        DOM Level 2