Class DesignCommonReturnValue
- java.lang.Object
-
- net.sf.jasperreports.engine.base.BaseCommonReturnValue
-
- net.sf.jasperreports.engine.design.DesignCommonReturnValue
-
- All Implemented Interfaces:
Serializable
,Cloneable
,CommonReturnValue
,JRChangeEventsSupport
,JRCloneable
- Direct Known Subclasses:
DesignExpressionReturnValue
,DesignReturnValue
public class DesignCommonReturnValue extends BaseCommonReturnValue implements JRChangeEventsSupport
Implementation ofReturnValue
to be used for report design purposes.- 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_TO_VARIABLE
-
Fields inherited from class net.sf.jasperreports.engine.base.BaseCommonReturnValue
calculation, incrementerFactoryClassName, toVariable
-
-
Constructor Summary
Constructors Constructor Description DesignCommonReturnValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRPropertyChangeSupport
getEventSupport()
Returns the property change support object for this instance.void
setCalculation(CalculationEnum calculation)
Sets the calculation type.void
setIncrementerFactoryClassName(String incrementerFactoryClassName)
Sets the incrementer factory class name.void
setToVariable(String name)
Sets the destination variable name.-
Methods inherited from class net.sf.jasperreports.engine.base.BaseCommonReturnValue
getCalculation, getIncrementerFactoryClassName, getToVariable
-
-
-
-
Field Detail
-
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
-
PROPERTY_TO_VARIABLE
public static final String PROPERTY_TO_VARIABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setToVariable
public void setToVariable(String name)
Sets the destination variable name.- Parameters:
name
- the variable name- See Also:
CommonReturnValue.getToVariable()
-
setCalculation
public void setCalculation(CalculationEnum calculation)
Sets the calculation type.- Parameters:
calculation
- the calculation type- See Also:
CommonReturnValue.getCalculation()
-
setIncrementerFactoryClassName
public void setIncrementerFactoryClassName(String incrementerFactoryClassName)
Sets the incrementer factory class name.- Parameters:
incrementerFactoryClassName
- the name of the incrementer factory class- See Also:
CommonReturnValue.getIncrementerFactoryClassName()
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classBaseCommonReturnValue
-
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
-
-