Interface JRCrosstabMeasure

    • Method Detail

      • getName

        String getName()
        Returns the name of the measure.
        Returns:
        the name of the measure
        See Also:
        getVariable()
      • getValueClassName

        String getValueClassName()
        Returns the name of the value class for this measure.
        Returns:
        the name of the value class for this measure
      • getValueClass

        Class<?> getValueClass()
        Returns the value class of this measure.
        Returns:
        the value class of this measure
      • getValueExpression

        JRExpression getValueExpression()
        Returns the measure expression.
        Returns:
        the measure expression
      • getIncrementerFactoryClassName

        String getIncrementerFactoryClassName()
        Returns the incrementer factory class name.

        Crosstab measures require extended incrementers, therefore the incrementer class should implement JRExtendedIncrementerFactory.

        Returns:
        the incrementer factory class name
      • getIncrementerFactoryClass

        Class<?> getIncrementerFactoryClass()
        Returns the incrementer factory class.
        Returns:
        the incrementer factory class
        See Also:
        getIncrementerFactoryClassName()
      • getPercentageCalculatorClassName

        String getPercentageCalculatorClassName()
        Returns the percentage calculator class name.
        Returns:
        the percentage calculator class name
      • getPercentageCalculatorClass

        Class<?> getPercentageCalculatorClass()
        Returns the percentage calculator class.
        Returns:
        the percentage calculator class
      • getVariable

        JRVariable getVariable()
        Returns the variable associated with this measure.

        The variable can be used inside the crosstab data cells as the measure value. The variable has the same name and value class as the measure.

        Returns:
        the variable associated with this measure