net.sf.jasperreports.crosstabs.fill

## Class JRPercentageCalculatorFactory.BytePercentageCalculator

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

- All Implemented Interfaces:
    JRPercentageCalculator
  Enclosing class:
    JRPercentageCalculatorFactory

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

  Percentage calculator for `Byte` values.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JRPercentageCalculatorFactory.BytePercentageCalculator()`

  - ### 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.BytePercentageCalculator

          public JRPercentageCalculatorFactory.BytePercentageCalculator()

  - ### 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