Class ReportEngine.CSSInfo

  • Enclosing class:
    ReportEngine

    public class ReportEngine.CSSInfo
    extends Object
    Store info for make css rule
    Author:
    hieplq
    • Method Detail

      • hashCode

        public int hashCode()
        sum hashCode of partial
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        equal only when same color and font
        Overrides:
        equals in class Object
      • compareObj

        protected boolean compareObj​(Object obj1,
                                     Object obj2)
        compare two object equal when both is null or result of equal
        Parameters:
        obj1 -
        obj2 -
        Returns:
      • addCssRule

        protected void addCssRule​(StringBuilder cssBuild,
                                  String ruleName,
                                  String ruleValue)
        append a css rule to css class
        Parameters:
        cssBuild -
        ruleName -
        ruleValue -
      • getCssRule

        public String getCssRule()
        build css rule
        Returns: