Class JRDesignVariable
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseVariable
-
- net.sf.jasperreports.engine.design.JRDesignVariable
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRChangeEventsSupport
,JRCloneable
,JRVariable
,StoreCloneable<JRBaseVariable>
public class JRDesignVariable extends JRBaseVariable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_CALCULATION
static String
PROPERTY_EXPRESSION
static String
PROPERTY_INCREMENT_GROUP
static String
PROPERTY_INCREMENT_TYPE
static String
PROPERTY_INCREMENTER_FACTORY_CLASS_NAME
static String
PROPERTY_INITIAL_VALUE_EXPRESSION
static String
PROPERTY_NAME
static String
PROPERTY_RESET_GROUP
static String
PROPERTY_RESET_TYPE
static String
PROPERTY_SYSTEM_DEFINED
static String
PROPERTY_VALUE_CLASS_NAME
-
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseVariable
calculation, description, expression, incrementerFactoryClass, incrementerFactoryClassName, incrementerFactoryClassRealName, incrementGroup, incrementType, initialValueExpression, isSystemDefined, name, PROPERTY_DESCRIPTION, resetGroup, resetType, valueClass, valueClassName, valueClassRealName
-
Fields inherited from interface net.sf.jasperreports.engine.JRVariable
COLUMN_COUNT, COLUMN_NUMBER, MASTER_CURRENT_PAGE, MASTER_TOTAL_PAGES, PAGE_COUNT, PAGE_NUMBER, REPORT_COUNT
-
-
Constructor Summary
Constructors Constructor Description JRDesignVariable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
void
setCalculation(CalculationEnum calculation)
void
setExpression(JRExpression expression)
void
setIncrementerFactoryClass(Class<?> clazz)
void
setIncrementerFactoryClassName(String className)
void
setIncrementGroup(String group)
void
setIncrementType(IncrementTypeEnum incrementType)
void
setInitialValueExpression(JRExpression expression)
void
setName(String name)
void
setResetGroup(String group)
void
setResetType(ResetTypeEnum resetType)
void
setSystemDefined(boolean isSystemDefined)
void
setValueClass(Class<?> clazz)
void
setValueClassName(String className)
-
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseVariable
clone, getCalculation, getDescription, getEventSupport, getExpression, getIncrementerFactoryClass, getIncrementerFactoryClassName, getIncrementGroup, getIncrementType, getInitialValueExpression, getName, getResetGroup, getResetType, getValueClass, getValueClassName, isSystemDefined, setDescription
-
-
-
-
Field Detail
-
PROPERTY_CALCULATION
public static final String PROPERTY_CALCULATION
- See Also:
- Constant Field Values
-
PROPERTY_EXPRESSION
public static final String PROPERTY_EXPRESSION
- 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_INCREMENT_GROUP
public static final String PROPERTY_INCREMENT_GROUP
- See Also:
- Constant Field Values
-
PROPERTY_INCREMENT_TYPE
public static final String PROPERTY_INCREMENT_TYPE
- See Also:
- Constant Field Values
-
PROPERTY_INITIAL_VALUE_EXPRESSION
public static final String PROPERTY_INITIAL_VALUE_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_NAME
public static final String PROPERTY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_RESET_GROUP
public static final String PROPERTY_RESET_GROUP
- See Also:
- Constant Field Values
-
PROPERTY_RESET_TYPE
public static final String PROPERTY_RESET_TYPE
- See Also:
- Constant Field Values
-
PROPERTY_SYSTEM_DEFINED
public static final String PROPERTY_SYSTEM_DEFINED
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_CLASS_NAME
public static final String PROPERTY_VALUE_CLASS_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setName
public void setName(String name)
-
setValueClass
public void setValueClass(Class<?> clazz)
-
setValueClassName
public void setValueClassName(String className)
-
setIncrementerFactoryClass
public void setIncrementerFactoryClass(Class<?> clazz)
-
setIncrementerFactoryClassName
public void setIncrementerFactoryClassName(String className)
-
setResetType
public void setResetType(ResetTypeEnum resetType)
-
setIncrementType
public void setIncrementType(IncrementTypeEnum incrementType)
-
setCalculation
public void setCalculation(CalculationEnum calculation)
-
setSystemDefined
public void setSystemDefined(boolean isSystemDefined)
-
setExpression
public void setExpression(JRExpression expression)
-
setInitialValueExpression
public void setInitialValueExpression(JRExpression expression)
-
setResetGroup
public void setResetGroup(String group)
-
setIncrementGroup
public void setIncrementGroup(String group)
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classJRBaseVariable
-
-