Class JRDesignSubreportReturnValue
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseSubreportReturnValue
-
- net.sf.jasperreports.engine.design.JRDesignSubreportReturnValue
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,CommonReturnValue,JRChangeEventsSupport,JRCloneable,JRSubreportReturnValue,VariableReturnValue
public class JRDesignSubreportReturnValue extends JRBaseSubreportReturnValue implements JRChangeEventsSupport
Implementation ofJRSubreportReturnValueto 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 java.lang.StringPROPERTY_CALCULATIONstatic java.lang.StringPROPERTY_INCREMENTER_FACTORY_CLASS_NAMEstatic java.lang.StringPROPERTY_SUBREPORT_VARIABLEstatic java.lang.StringPROPERTY_TO_VARIABLE-
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseSubreportReturnValue
calculationValue, incrementerFactoryClassName, subreportVariable, toVariable
-
-
Constructor Summary
Constructors Constructor Description JRDesignSubreportReturnValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()JRPropertyChangeSupportgetEventSupport()Returns the property change support object for this instance.voidsetCalculation(CalculationEnum calculationValue)Sets the calculation type.voidsetIncrementerFactoryClassName(java.lang.String incrementerFactoryClassName)Sets the incrementer factory class name.voidsetSubreportVariable(java.lang.String name)Sets the subreport variable name.voidsetToVariable(java.lang.String name)Sets the master variable name.-
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseSubreportReturnValue
getCalculation, getFromVariable, getIncrementerFactoryClassName, getToVariable
-
-
-
-
Field Detail
-
PROPERTY_CALCULATION
public static final java.lang.String PROPERTY_CALCULATION
- See Also:
- Constant Field Values
-
PROPERTY_INCREMENTER_FACTORY_CLASS_NAME
public static final java.lang.String PROPERTY_INCREMENTER_FACTORY_CLASS_NAME
- See Also:
- Constant Field Values
-
PROPERTY_SUBREPORT_VARIABLE
public static final java.lang.String PROPERTY_SUBREPORT_VARIABLE
- See Also:
- Constant Field Values
-
PROPERTY_TO_VARIABLE
public static final java.lang.String PROPERTY_TO_VARIABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setSubreportVariable
public void setSubreportVariable(java.lang.String name)
Sets the subreport variable name.- Parameters:
name- the variable name- See Also:
VariableReturnValue.getFromVariable()
-
setToVariable
public void setToVariable(java.lang.String name)
Sets the master variable name.- Parameters:
name- the variable name- See Also:
CommonReturnValue.getToVariable()
-
setCalculation
public void setCalculation(CalculationEnum calculationValue)
Sets the calculation type.- Parameters:
calculationValue- the calculation type- See Also:
CommonReturnValue.getCalculation()
-
setIncrementerFactoryClassName
public void setIncrementerFactoryClassName(java.lang.String incrementerFactoryClassName)
Sets the incrementer factory class name.- Parameters:
incrementerFactoryClassName- the name of the incrementer factory class- See Also:
CommonReturnValue.getIncrementerFactoryClassName()
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classJRBaseSubreportReturnValue
-
getEventSupport
public JRPropertyChangeSupport 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
-
-