public class JRBaseValueDataset extends JRBaseChartDataset implements JRValueDataset
| Modifier and Type | Field and Description |
|---|---|
protected JRExpression |
valueExpression
The expression that returns the single value contained in this dataset.
|
datasetRun, incrementGroup, incrementTypeValue, incrementWhenExpression, resetGroup, resetTypeValueCATEGORY_DATASET, GANTT_DATASET, HIGHLOW_DATASET, PIE_DATASET, TIMEPERIOD_DATASET, TIMESERIES_DATASET, VALUE_DATASET, XY_DATASET, XYZ_DATASET| Constructor and Description |
|---|
JRBaseValueDataset(JRChartDataset dataset)
Construct a new dataset that is a copy of an existing one.
|
JRBaseValueDataset(JRValueDataset dataset,
JRBaseObjectFactory factory)
Constructs a new dataset that is a copy of an existing one, and
register all of the new dataset's expressions with the specified
factory.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
void |
collectExpressions(JRExpressionCollector collector)
Adds all the expression used by this plot with the specified collector.
|
byte |
getDatasetType()
Gets the dataset type.
|
JRExpression |
getValueExpression()
Returns the expression that indicates the value held
by this dataset.
|
void |
validate(JRVerifier verifier)
Validates the dataset using a verifier.
|
getDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValueprotected JRExpression valueExpression
public JRBaseValueDataset(JRChartDataset dataset)
dataset - the dataset to copypublic JRBaseValueDataset(JRValueDataset dataset, JRBaseObjectFactory factory)
dataset - the datast to copyfactory - the factory to register the new dataset's expressions withpublic JRExpression getValueExpression()
JRValueDatasetgetValueExpression in interface JRValueDatasetpublic byte getDatasetType()
JRChartDatasetgetDatasetType in interface JRChartDatasetpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementDatasetcollector - the expression collector to usepublic void validate(JRVerifier verifier)
JRChartDatasetBroken rules are collected by the verifier.
validate in interface JRChartDatasetverifier - the verifier to use for validationpublic Object clone()
clone in interface JRCloneableclone in class JRBaseElementDatasetCopyright © 2012. All Rights Reserved.