Class JRDesignSubreportReturnValue
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseSubreportReturnValue
net.sf.jasperreports.engine.design.JRDesignSubreportReturnValue
- All Implemented Interfaces:
Serializable,Cloneable,CommonReturnValue,JRChangeEventsSupport,JRCloneable,JRSubreportReturnValue,VariableReturnValue
public class JRDesignSubreportReturnValue
extends JRBaseSubreportReturnValue
implements JRChangeEventsSupport
Implementation of
JRSubreportReturnValue
to be used for report design purposes.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class net.sf.jasperreports.engine.base.JRBaseSubreportReturnValue
calculation, incrementerFactoryClassName, subreportVariable, toVariable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns the property change support object for this instance.voidsetCalculation(CalculationEnum calculation) Sets the calculation type.voidsetIncrementerFactoryClassName(String incrementerFactoryClassName) Sets the incrementer factory class name.voidsetSubreportVariable(String name) Sets the subreport variable name.voidsetToVariable(String name) Sets the master variable name.Methods inherited from class net.sf.jasperreports.engine.base.JRBaseSubreportReturnValue
getCalculation, getFromVariable, getIncrementerFactoryClassName, getToVariable
-
Field Details
-
PROPERTY_CALCULATION
- See Also:
-
PROPERTY_INCREMENTER_FACTORY_CLASS_NAME
- See Also:
-
PROPERTY_SUBREPORT_VARIABLE
- See Also:
-
PROPERTY_TO_VARIABLE
- See Also:
-
-
Constructor Details
-
JRDesignSubreportReturnValue
public JRDesignSubreportReturnValue()
-
-
Method Details
-
setSubreportVariable
Sets the subreport variable name.- Parameters:
name- the variable name- See Also:
-
setToVariable
Sets the master variable name.- Parameters:
name- the variable name- See Also:
-
setCalculation
Sets the calculation type.- Parameters:
calculation- the calculation type- See Also:
-
setIncrementerFactoryClassName
Sets the incrementer factory class name.- Parameters:
incrementerFactoryClassName- the name of the incrementer factory class- See Also:
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classJRBaseSubreportReturnValue
-
getEventSupport
Description copied from interface:JRChangeEventsSupportReturns the property change support object for this instance.- Specified by:
getEventSupportin interfaceJRChangeEventsSupport- Returns:
- the property change support object for this instance
-