Class CSSStyleSheetListImpl


  • public class CSSStyleSheetListImpl
    extends Object
    Implementation of StyleSheetList.
    Author:
    Ronald Brill
    • Constructor Detail

      • CSSStyleSheetListImpl

        public CSSStyleSheetListImpl()
    • Method Detail

      • getCSSStyleSheets

        public List<CSSStyleSheetImpl> getCSSStyleSheets()

        getCSSStyleSheets.

        Returns:
        the list of style sheets
      • getLength

        public int getLength()

        getLength.

        Returns:
        the number of style sheets
      • add

        public void add​(CSSStyleSheetImpl cssStyleSheet)
        Adds a CSSStyleSheet.
        Parameters:
        cssStyleSheet - the CSSStyleSheet
      • merge

        public CSSStyleSheetImpl merge()
        Merges all StyleSheets in this list into one.
        Returns:
        the new (merged) StyleSheet
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object