Class PrintDataFunction

java.lang.Object
org.compiere.print.PrintDataFunction

public class PrintDataFunction extends Object
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 Details

    • Constructor Details

      • PrintDataFunction

        public PrintDataFunction()
        Constructor
    • Method Details

      • addValue

        public void addValue(Serializable s)
        Add Value to Counter
        Parameters:
        s - data
      • getValue

        public Serializable getValue(char function)
        Get Function Value
        Parameters:
        function - function
        Returns:
        function value
      • reset

        public void reset()
        Reset Value
      • toString

        public String toString()
        String Representation
        Overrides:
        toString in class Object
        Returns:
        info
      • getFunctionSymbol

        public static String getFunctionSymbol(char function)
        Get Function Symbol of function
        Parameters:
        function - function
        Returns:
        function symbol
      • getFunctionName

        public static String getFunctionName(char function)
        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 - function
        displayType - columns display type
        Returns:
        function name