Package org.idempiere.print.renderer
Class HTMLReportRenderer.CSSInfo
java.lang.Object
org.idempiere.print.renderer.HTMLReportRenderer.CSSInfo
- Enclosing class:
- HTMLReportRenderer
Store info for css rule
- Author:
- hieplq
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCssRule
(StringBuilder cssBuild, String ruleName, String ruleValue) Append a css rule to a css classprotected boolean
compareObj
(Object obj1, Object obj2) Compare two object equal when both is null or equalboolean
equal when same color and fontBuild css ruleint
hashCode()
Sum hashCode of color and font
-
Constructor Details
-
CSSInfo
-
CSSInfo
-
-
Method Details
-
hashCode
public int hashCode()Sum hashCode of color and font -
equals
equal when same color and font -
compareObj
Compare two object equal when both is null or equal- Parameters:
obj1
-obj2
-- Returns:
- true if both is null or equal
-
addCssRule
Append a css rule to a css class- Parameters:
cssBuild
- css class builderruleName
-ruleValue
-
-
getCssRule
Build css rule- Returns:
- css rule
-