Class AbstractCSSRuleImpl

    • Constructor Detail

      • AbstractCSSRuleImpl

        public AbstractCSSRuleImpl​(CSSStyleSheetImpl parentStyleSheet,
                                   AbstractCSSRuleImpl parentRule)
        Ctor.
        Parameters:
        parentStyleSheet - the parent style sheet
        parentRule - the parent rule
    • Method Detail

      • getCssText

        public abstract java.lang.String getCssText()
        Returns:
        the current css text
      • setCssText

        public abstract void setCssText​(java.lang.String cssText)
        Sets the css text.
        Parameters:
        cssText - the new css text
      • setParentStyleSheet

        public void setParentStyleSheet​(CSSStyleSheetImpl parentStyleSheet)
        Sets the parent style sheet.
        Parameters:
        parentStyleSheet - the new parent style sheet
      • setParentRule

        public void setParentRule​(AbstractCSSRuleImpl parentRule)
        Sets the parent rule.
        Parameters:
        parentRule - the new parent rule
      • getParentStyleSheet

        public CSSStyleSheetImpl getParentStyleSheet()
        Returns:
        the parent style sheet
      • 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