Package org.compiere.print
Class PrintDataFunction
java.lang.Object
org.compiere.print.PrintDataFunction
Print Data Function
- Version:
- $Id: PrintDataFunction.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
- Author:
- Jorg Janke, Teo Sarca, SC ARHIPAC SERVICE SRL
- BF [ 1789279 ] DisplayType for group columns are incorect
-
Field Summary
Modifier and TypeFieldDescriptionstatic final char
Countstatic final char
Deviationstatic final char
Maxstatic final char
Meanstatic final char
Minstatic final char
Sumstatic final char
Variance -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add Value to Counterstatic int
getFunctionDisplayType
(char function, int displayType) Get DisplayType of functionstatic String
getFunctionName
(char function) Get Function Name of functionstatic String
getFunctionSymbol
(char function) Get Function Symbol of functiongetValue
(char function) Get Function Valuevoid
reset()
Reset ValuetoString()
String Representation
-
Field Details
-
F_SUM
public static final char F_SUMSum- See Also:
-
F_MEAN
public static final char F_MEANMean- See Also:
-
F_COUNT
public static final char F_COUNTCount- See Also:
-
F_MIN
public static final char F_MINMin- See Also:
-
F_MAX
public static final char F_MAXMax- See Also:
-
F_VARIANCE
public static final char F_VARIANCEVariance- See Also:
-
F_DEVIATION
public static final char F_DEVIATIONDeviation- See Also:
-
-
Constructor Details
-
PrintDataFunction
public PrintDataFunction()Constructor
-
-
Method Details
-
addValue
Add Value to Counter- Parameters:
s
- data
-
getValue
Get Function Value- Parameters:
function
- function- Returns:
- function value
-
reset
public void reset()Reset Value -
toString
String Representation -
getFunctionSymbol
Get Function Symbol of function- Parameters:
function
- function- Returns:
- function symbol
-
getFunctionName
Get Function Name of function- Parameters:
function
- function- Returns:
- function name
-
getFunctionDisplayType
public static int getFunctionDisplayType(char function, int displayType) Get DisplayType of function- Parameters:
function
- functiondisplayType
- columns display type- Returns:
- function name
-