public class JRDesignValueDataset extends JRDesignChartDataset implements JRValueDataset
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_VALUE_EXPRESSION |
protected JRExpression |
valueExpression
The expression that returns the single value contained in this dataset.
|
PROPERTY_DATASET_RUN, PROPERTY_INCREMENT_GROUP, PROPERTY_INCREMENT_TYPE, PROPERTY_INCREMENT_WHEN_EXPRESSION, PROPERTY_RESET_GROUP, PROPERTY_RESET_TYPEdatasetRun, 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 |
|---|
JRDesignValueDataset(JRChartDataset dataset)
Construct a new dataset that is a copy of an existing one.
|
| 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()
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.
|
getEventSupport, setDatasetRun, setIncrementGroup, setIncrementType, setIncrementWhenExpression, setResetGroup, setResetTypegetDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValuepublic static final String PROPERTY_VALUE_EXPRESSION
protected JRExpression valueExpression
public JRDesignValueDataset(JRChartDataset dataset)
dataset - the dataset to copypublic JRExpression getValueExpression()
JRValueDatasetgetValueExpression in interface JRValueDatasetpublic void setValueExpression(JRExpression valueExpression)
valueExpression - the expression that returns the value held by
this datasetpublic byte getDatasetType()
getDatasetType in interface JRChartDatasetgetDatasetType in class JRDesignChartDatasetVALUE_DATASETpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementDatasetcollectExpressions in class JRBaseElementDatasetcollector - 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 JRDesignElementDatasetCopyright © 2017. All rights reserved.