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.
|
datasetResetType, datasetRun, incrementGroup, incrementTypeValue, incrementWhenExpression, resetGroup
CATEGORY_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.
|
getDatasetResetType, getDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValue
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDatasetResetType, getDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValue
protected 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()
JRValueDataset
getValueExpression
in interface JRValueDataset
public byte getDatasetType()
JRChartDataset
getDatasetType
in interface JRChartDataset
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElementDataset
collectExpressions
in class JRBaseElementDataset
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 validationpublic Object clone()
clone
in interface JRCloneable
clone
in class JRBaseElementDataset
Copyright © 2021 TIBCO Software Inc.. All rights reserved.