Interface CSSStyleSheetList<T extends CSSRule>

All Superinterfaces:
StyleSheetList
All Known Implementing Classes:
StyleSheetList

public interface CSSStyleSheetList<T extends CSSRule> extends StyleSheetList
List of extended style sheets. See The StyleSheetList Interface.
  • Method Details

    • item

      CSSStyleSheet<T> item(int index)
      retrieve a CSSStyleSheet by ordinal index.
      Specified by:
      item in interface StyleSheetList
      Parameters:
      index - the index in this list.
      Returns:
      the sheet at index, or null if index is less than zero, or greater or equal to the list length.
    • acceptStyleRuleVisitor

      void acceptStyleRuleVisitor(Visitor<CSSStyleRule> visitor)
      Accept a style rule visitor.

      This method scans all the sheets in this list for style rules and visits them.

      Parameters:
      visitor - the visitor.
    • acceptDeclarationRuleVisitor

      void acceptDeclarationRuleVisitor(Visitor<CSSDeclarationRule> visitor)
      Accept a declaration rule visitor.

      This method scans all the sheets in this list for declaration rules and visits them.

      Parameters:
      visitor - the visitor.
    • acceptDescriptorRuleVisitor

      void acceptDescriptorRuleVisitor(Visitor<CSSDeclarationRule> visitor)
      Accept a descriptor rule visitor.

      This method scans all the sheets in this list for declaration rules that declare descriptors, and visits them.

      Parameters:
      visitor - the visitor.