|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseElementDataset
net.sf.jasperreports.engine.design.JRDesignElementDataset
net.sf.jasperreports.engine.design.JRDesignChartDataset
net.sf.jasperreports.charts.design.JRDesignValueDataset
public class JRDesignValueDataset
A data set that contains a single value. A value dataset is suitable for using with charts that show a single value against a potential range, such as meter chart or a thermometer chart.
Field Summary | |
---|---|
protected JRExpression |
valueExpression
The expression that returns the single value contained in this dataset. |
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElementDataset |
---|
datasetRun, incrementGroup, incrementType, incrementWhenExpression, resetGroup, resetType |
Fields inherited from interface net.sf.jasperreports.engine.JRChartDataset |
---|
CATEGORY_DATASET, HIGHLOW_DATASET, PIE_DATASET, TIMEPERIOD_DATASET, TIMESERIES_DATASET, VALUE_DATASET, XY_DATASET, XYZ_DATASET |
Constructor Summary | |
---|---|
JRDesignValueDataset(JRChartDataset dataset)
Construct a new dataset that is a copy of an existing one. |
Method Summary | |
---|---|
void |
collectExpressions(JRExpressionCollector collector)
Adds all the expression used by this plot with the specified collector. |
byte |
getDatasetType()
Returns the type of this dataset. |
JRExpression |
getValueExpression()
Returns the expression that indicates the value held by this dataset. |
void |
setValueExpression(JRExpression valueExpression)
Sets the expression that indicates the value held by this dataset. |
void |
validate(JRVerifier verifier)
Validates the dataset using a verifier. |
Methods inherited from class net.sf.jasperreports.engine.design.JRDesignElementDataset |
---|
setDatasetRun, setIncrementGroup, setIncrementType, setIncrementWhenExpression, setResetGroup, setResetType |
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElementDataset |
---|
getDatasetRun, getIncrementGroup, getIncrementType, getIncrementWhenExpression, getResetGroup, getResetType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRElementDataset |
---|
getDatasetRun, getIncrementGroup, getIncrementType, getIncrementWhenExpression, getResetGroup, getResetType |
Field Detail |
---|
protected JRExpression valueExpression
Constructor Detail |
---|
public JRDesignValueDataset(JRChartDataset dataset)
dataset
- the dataset to copyMethod Detail |
---|
public JRExpression getValueExpression()
JRValueDataset
getValueExpression
in interface JRValueDataset
public void setValueExpression(JRExpression valueExpression)
valueExpression
- the expression that returns the value held by
this datasetpublic byte getDatasetType()
getDatasetType
in interface JRChartDataset
getDatasetType
in class JRDesignChartDataset
JRChartDataset.VALUE_DATASET
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElementDataset
collector
- the expression collector to usepublic void validate(JRVerifier verifier)
JRChartDataset
Broken rules are collected by the verifier.
validate
in interface JRChartDataset
verifier
- the verifier to use for validation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |