com.aspose.html

Class HTMLStyleElement

    • Constructor Detail

      • HTMLStyleElement

        public HTMLStyleElement(DOMName name,
                                Document doc)

        Initializes a new instance of the HTMLStyleElement class.

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

      • getDisabled

        @DOMNameAttribute(name="disabled")
        public boolean getDisabled()

        Enables/disables the style sheet.

      • setDisabled

        @DOMNameAttribute(name="disabled")
        public void setDisabled(boolean value)

        Enables/disables the style sheet.

      • getMedia

        @DOMNameAttribute(name="media")
        public String getMedia()

        Designed for use with one or more target media. See the media attribute definition in HTML 4.01.

      • setMedia

        @DOMNameAttribute(name="media")
        public void setMedia(String value)

        Designed for use with one or more target media. See the media attribute definition in HTML 4.01.

      • getType

        @DOMNameAttribute(name="type")
        public String getType()

        The content type of the style sheet language. See the type attribute definition in HTML 4.01.

      • setType

        @DOMNameAttribute(name="type")
        public void setType(String value)

        The content type of the style sheet language. See the type attribute definition in HTML 4.01.