Class DesignReturnValue
java.lang.Object
net.sf.jasperreports.engine.base.BaseCommonReturnValue
net.sf.jasperreports.engine.design.DesignCommonReturnValue
net.sf.jasperreports.engine.design.DesignReturnValue
- All Implemented Interfaces:
Serializable,Cloneable,CommonReturnValue,JRChangeEventsSupport,JRCloneable,ReturnValue,VariableReturnValue
Implementation of
ReturnValue
to be used for report design purposes.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe name of the variable to be copied.static final StringFields inherited from class net.sf.jasperreports.engine.design.DesignCommonReturnValue
PROPERTY_CALCULATION, PROPERTY_INCREMENTER_FACTORY_CLASS_NAME, PROPERTY_TO_VARIABLEFields inherited from class net.sf.jasperreports.engine.base.BaseCommonReturnValue
calculation, incrementerFactoryClassName, toVariable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns the name of the variable whose value should be copied.voidsetFromVariable(String name) Sets the source variable name.Methods inherited from class net.sf.jasperreports.engine.design.DesignCommonReturnValue
getEventSupport, setCalculation, setIncrementerFactoryClassName, setToVariableMethods inherited from class net.sf.jasperreports.engine.base.BaseCommonReturnValue
getCalculation, getIncrementerFactoryClassName, getToVariableMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.engine.CommonReturnValue
getCalculation, getIncrementerFactoryClassName, getToVariable
-
Field Details
-
PROPERTY_FROM_VARIABLE
- See Also:
-
fromVariable
The name of the variable to be copied.
-
-
Constructor Details
-
DesignReturnValue
public DesignReturnValue()
-
-
Method Details
-
getFromVariable
Returns the name of the variable whose value should be copied.- Specified by:
getFromVariablein interfaceVariableReturnValue- Returns:
- the name of the variable whose value should be copied.
-
setFromVariable
Sets the source variable name.- Parameters:
name- the variable name- See Also:
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classDesignCommonReturnValue
-