Class JRDesignElementDataset
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseElementDataset
-
- net.sf.jasperreports.engine.design.JRDesignElementDataset
-
- All Implemented Interfaces:
Serializable
,Cloneable
,DatasetRunHolder
,JRChangeEventsSupport
,JRCloneable
,JRElementDataset
- Direct Known Subclasses:
DesignMultiAxisDataset
,JRDesignChartDataset
,JRDesignCrosstabDataset
,StandardSpiderDataset
public class JRDesignElementDataset extends JRBaseElementDataset implements JRChangeEventsSupport
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_DATASET_RESET_TYPE
static String
PROPERTY_DATASET_RUN
static String
PROPERTY_INCREMENT_GROUP
static String
PROPERTY_INCREMENT_TYPE
static String
PROPERTY_INCREMENT_WHEN_EXPRESSION
static String
PROPERTY_RESET_GROUP
static String
PROPERTY_RESET_TYPE
-
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElementDataset
datasetResetType, datasetRun, incrementGroup, incrementType, incrementWhenExpression, resetGroup
-
-
Constructor Summary
Constructors Constructor Description JRDesignElementDataset()
JRDesignElementDataset(JRElementDataset dataset)
JRDesignElementDataset(JRElementDataset dataset, JRBaseObjectFactory factory)
-
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
setDatasetRun(JRDatasetRun datasetRun)
Sets the sub dataset run for this dataset.void
setIncrementGroup(String group)
void
setIncrementType(IncrementTypeEnum incrementType)
void
setIncrementWhenExpression(JRExpression expression)
Sets the "increment when" expression.void
setResetGroup(String group)
void
setResetType(DatasetResetTypeEnum datasetResetType)
-
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElementDataset
collectExpressions, getDatasetResetType, getDatasetRun, getIncrementGroup, getIncrementType, getIncrementWhenExpression, getResetGroup
-
-
-
-
Field Detail
-
PROPERTY_DATASET_RUN
public static final String PROPERTY_DATASET_RUN
- 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_INCREMENT_WHEN_EXPRESSION
public static final String PROPERTY_INCREMENT_WHEN_EXPRESSION
- 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_DATASET_RESET_TYPE
public static final String PROPERTY_DATASET_RESET_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JRDesignElementDataset
public JRDesignElementDataset()
-
JRDesignElementDataset
public JRDesignElementDataset(JRElementDataset dataset)
-
JRDesignElementDataset
public JRDesignElementDataset(JRElementDataset dataset, JRBaseObjectFactory factory)
-
-
Method Detail
-
setResetType
public void setResetType(DatasetResetTypeEnum datasetResetType)
-
setIncrementType
public void setIncrementType(IncrementTypeEnum incrementType)
-
setResetGroup
public void setResetGroup(String group)
-
setIncrementGroup
public void setIncrementGroup(String group)
-
setDatasetRun
public void setDatasetRun(JRDatasetRun datasetRun)
Sets the sub dataset run for this dataset.- Parameters:
datasetRun
- the dataset run- See Also:
JRElementDataset.getDatasetRun()
-
setIncrementWhenExpression
public void setIncrementWhenExpression(JRExpression expression)
Sets the "increment when" expression.The expression value class should be compatible with
java.lang.Boolean
- Parameters:
expression
- the expression- See Also:
JRElementDataset.getIncrementWhenExpression()
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classJRBaseElementDataset
-
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
-
-