| java.lang.Object net.sf.jasperreports.crosstabs.fill.calculation.MeasureDefinition
MeasureDefinition | public class MeasureDefinition (Code) | | Crosstab measure definition.
author: Lucian Chirita (lucianc@users.sourceforge.net) version: $Id: MeasureDefinition.java 1311 2006-06-23 09:19:26Z teodord $ |
Inner Class :public class MeasureValue implements JRCalculable | |
calculation | final protected byte calculation(Code) | | |
isSystemDefined | final protected boolean isSystemDefined(Code) | | |
MeasureDefinition | public MeasureDefinition(Class valueClass, byte calculation, JRExtendedIncrementerFactory incrementerFactory)(Code) | | Create a measure definition.
Parameters: valueClass - the value class Parameters: calculation - the calculation type Parameters: incrementerFactory - the incrementer factory |
createDistinctCountHelperMeasure | public static MeasureDefinition createDistinctCountHelperMeasure(MeasureDefinition measure)(Code) | | Creates a helper measure for a distinct count calculation.
Parameters: measure - the measure the helper measure having the specified calculation |
createHelperMeasure | public static MeasureDefinition createHelperMeasure(MeasureDefinition measure, byte helperCalculation)(Code) | | Creates a helper measure for a specific calculation.
Parameters: measure - the measure Parameters: helperCalculation - the calculation the helper measure having the specified calculation |
getCalculation | public byte getCalculation()(Code) | | Returns the calculation type.
the calculation type |
getIncrementer | public JRExtendedIncrementer getIncrementer()(Code) | | Returns the incrementer used for this measure.
the incrementer used for this measure |
getValueClass | public Class getValueClass()(Code) | | Returns the measure value class.
the measure value class |
isSystemDefined | protected boolean isSystemDefined()(Code) | | |
|
|