Class CSSStyleSheetListImpl


  • public class CSSStyleSheetListImpl
    extends java.lang.Object
    Implementation of StyleSheetList.
    • Constructor Detail

      • CSSStyleSheetListImpl

        public CSSStyleSheetListImpl()
    • Method Detail

      • getCSSStyleSheets

        public java.util.List<CSSStyleSheetImpl> getCSSStyleSheets()
        Returns:
        the list of style sheets
      • getLength

        public int 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
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object