Interface CSSStyleSheet

All Superinterfaces:
StyleSheet
All Known Implementing Classes:
CSSStyleSheetImpl

public interface CSSStyleSheet extends StyleSheet
A style sheet. This extension to the W3C interface adds utility as well as factory methods. The factory methods create rules that have the same origin specificity as this style sheet.
  • Method Details

    • getOwnerRule

      CSSRule getOwnerRule()

      getOwnerRule.

      Returns:
      a CSSRule object.
    • getCssRules

      CSSRuleList getCssRules()

      getCssRules.

      Returns:
      a CSSRuleList object.
    • insertRule

      long insertRule(String rule, int index)

      getCssRules.

      Parameters:
      rule - a String object.
      index - a Integer object.
      Returns:
      a Long object.
    • deleteRule

      void deleteRule(int index)

      getCssRules.

      Parameters:
      index - a Integer object.