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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCssRule(StringBuilder cssBuild, String ruleName, String ruleValue) Append a css rule to a css classprotected booleancompareObj(Object obj1, Object obj2) Compare two object equal when both is null or equalbooleanequal when same color and fontBuild css ruleinthashCode()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
-