Module jdk.xml.dom

Interface HTMLStyleElement

All Superinterfaces:
Element, HTMLElement, Node

public interface HTMLStyleElement extends HTMLElement
Style information. See the STYLE element definition in HTML 4.0, the module and the LinkStyle interface in the module.

See also the Document Object Model (DOM) Level 2 Specification.

Since:
1.4, DOM Level 2
  • Method Details

    • getDisabled

      boolean getDisabled()
      Enables/disables the style sheet.
    • setDisabled

      void setDisabled(boolean disabled)
    • getMedia

      String getMedia()
      Designed for use with one or more target media. See the media attribute definition in HTML 4.0.
    • setMedia

      void setMedia(String media)
    • getType

      String getType()
      The content type pf the style sheet language. See the type attribute definition in HTML 4.0.
    • setType

      void setType(String type)