net.sf.jasperreports.crosstabs.fill

## Class JRPercentageCalculatorFactory.IntegerPercentageCalculator

- java.lang.Object
- - net.sf.jasperreports.crosstabs.fill.JRPercentageCalculatorFactory.IntegerPercentageCalculator

- All Implemented Interfaces:
    JRPercentageCalculator
  Enclosing class:
    JRPercentageCalculatorFactory

      public static class JRPercentageCalculatorFactory.IntegerPercentageCalculator
      extends java.lang.Object
      implements JRPercentageCalculator

  Percentage calculator for `Integer` values.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JRPercentageCalculatorFactory.IntegerPercentageCalculator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `calculatePercentage(JRCalculable value, JRCalculable total)` Calculates the percentage of a value out of a total.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JRPercentageCalculatorFactory.IntegerPercentageCalculator

          public JRPercentageCalculatorFactory.IntegerPercentageCalculator()

  - ### Method Detail

    - #### calculatePercentage

          public java.lang.Object calculatePercentage(JRCalculable value,
                                             JRCalculable total)

      Description copied from interface: `JRPercentageCalculator`
      Calculates the percentage of a value out of a total.
      Specified by:
        `calculatePercentage` in interface `JRPercentageCalculator`
      Parameters:
        `value` - the value
        `total` - the total
      Returns:
        the percentage

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com