Class DesignDataMeasure
- java.lang.Object
-
- net.sf.jasperreports.engine.analytics.dataset.BaseDataMeasure
-
- net.sf.jasperreports.engine.analytics.dataset.DesignDataMeasure
-
- All Implemented Interfaces:
Serializable
,Cloneable
,DataMeasure
,JRChangeEventsSupport
,JRCloneable
public class DesignDataMeasure extends BaseDataMeasure implements JRChangeEventsSupport
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_CALCULATION
static String
PROPERTY_INCREMENTER_FACTORY_CLASS_NAME
static String
PROPERTY_LABEL_EXPRESSION
static String
PROPERTY_NAME
static String
PROPERTY_VALUE_CLASS_NAME
static String
PROPERTY_VALUE_EXPRESSION
-
Fields inherited from class net.sf.jasperreports.engine.analytics.dataset.BaseDataMeasure
calculation, EXCEPTION_MESSAGE_KEY_MEASURE_INCREMENTER_LOAD_ERROR, EXCEPTION_MESSAGE_KEY_MEASURE_VALUE_LOAD_ERROR, incrementerFactoryClassName, labelExpression, name, valueClassName, valueExpression
-
-
Constructor Summary
Constructors Constructor Description DesignDataMeasure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRPropertyChangeSupport
getEventSupport()
Returns the property change support object for this instance.void
setCalculation(CalculationEnum calculation)
void
setIncrementerFactoryClassName(String incrementerFactoryClassName)
void
setLabelExpression(JRExpression expression)
void
setName(String name)
void
setValueClassName(String valueClassName)
void
setValueExpression(JRExpression expression)
-
Methods inherited from class net.sf.jasperreports.engine.analytics.dataset.BaseDataMeasure
clone, getCalculation, getIncrementerFactoryClass, getIncrementerFactoryClassName, getLabelExpression, getName, getValueClass, getValueClassName, getValueExpression
-
-
-
-
Field Detail
-
PROPERTY_NAME
public static final String PROPERTY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_LABEL_EXPRESSION
public static final String PROPERTY_LABEL_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_CLASS_NAME
public static final String PROPERTY_VALUE_CLASS_NAME
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_EXPRESSION
public static final String PROPERTY_VALUE_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_CALCULATION
public static final String PROPERTY_CALCULATION
- See Also:
- Constant Field Values
-
PROPERTY_INCREMENTER_FACTORY_CLASS_NAME
public static final String PROPERTY_INCREMENTER_FACTORY_CLASS_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setName
public void setName(String name)
-
setLabelExpression
public void setLabelExpression(JRExpression expression)
-
setValueClassName
public void setValueClassName(String valueClassName)
- Overrides:
setValueClassName
in classBaseDataMeasure
-
setValueExpression
public void setValueExpression(JRExpression expression)
-
setCalculation
public void setCalculation(CalculationEnum calculation)
-
setIncrementerFactoryClassName
public void setIncrementerFactoryClassName(String incrementerFactoryClassName)
- Overrides:
setIncrementerFactoryClassName
in classBaseDataMeasure
-
getEventSupport
public JRPropertyChangeSupport getEventSupport()
Description copied from interface:JRChangeEventsSupport
Returns the property change support object for this instance.- Specified by:
getEventSupport
in interfaceJRChangeEventsSupport
- Returns:
- the property change support object for this instance
-
-