Class HTMLStyleElement

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

    public class HTMLStyleElement
    extends HTMLElement
    The JavaScript object HTMLStyleElement.
    See Also:
    Serialized Form
    • Constructor Detail

      • HTMLStyleElement

        public HTMLStyleElement()
        Creates an instance.
    • Method Detail

      • getType

        public java.lang.String getType()
        Returns the type of this style.
        Returns:
        the type
      • setType

        public void setType​(java.lang.String type)
        Sets the type of this style.
        Parameters:
        type - the new type
      • getMedia

        public java.lang.String getMedia()
        Returns the media of this style.
        Returns:
        the media
      • setMedia

        public void setMedia​(java.lang.String media)
        Sets the media of this style.
        Parameters:
        media - the new media
      • isDisabled

        public boolean isDisabled()
        Returns the disabled property.
        Overrides:
        isDisabled in class HTMLElement
        Returns:
        the disabled property
      • setDisabled

        public void setDisabled​(boolean disabled)
        Sets the disabled property.
        Overrides:
        setDisabled in class HTMLElement
        Parameters:
        disabled - the disabled property