public class JRFillHighLowDataset extends JRFillChartDataset implements JRHighLowDataset
| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION_MESSAGE_KEY_SERIES_NULL_CLOSE_VALUE |
static String |
EXCEPTION_MESSAGE_KEY_SERIES_NULL_DATE_VALUE |
static String |
EXCEPTION_MESSAGE_KEY_SERIES_NULL_HIGH_VALUE |
static String |
EXCEPTION_MESSAGE_KEY_SERIES_NULL_LOW_VALUE |
static String |
EXCEPTION_MESSAGE_KEY_SERIES_NULL_OPEN_VALUE |
static String |
EXCEPTION_MESSAGE_KEY_SERIES_NULL_VOLUME_VALUE |
datasetRun, incrementGroup, parent, resetGroupCATEGORY_DATASET, GANTT_DATASET, HIGHLOW_DATASET, PIE_DATASET, TIMEPERIOD_DATASET, TIMESERIES_DATASET, VALUE_DATASET, XY_DATASET, XYZ_DATASET| Constructor and Description |
|---|
JRFillHighLowDataset(JRHighLowDataset dataset,
JRFillObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectExpressions(JRExpressionCollector collector) |
protected void |
customEvaluate(JRCalculator calculator)
Evaluates the expressions associated with the dataset.
|
protected void |
customIncrement()
Increments the dataset by collecting the result of the expression
evaluation.
|
protected void |
customInitialize()
Initializes the element dataset.
|
protected void |
evaluateSectionHyperlink(JRCalculator calculator) |
JRExpression |
getCloseExpression() |
org.jfree.data.general.Dataset |
getCustomDataset() |
byte |
getDatasetType()
Gets the dataset type.
|
JRExpression |
getDateExpression() |
JRExpression |
getHighExpression() |
JRHyperlink |
getItemHyperlink()
Returns the hyperlink specification for chart items.
|
List<JRPrintHyperlink> |
getItemHyperlinks() |
Object |
getLabelGenerator() |
JRExpression |
getLowExpression() |
JRExpression |
getOpenExpression() |
JRExpression |
getSeriesExpression() |
JRExpression |
getVolumeExpression() |
boolean |
hasItemHyperlink() |
void |
validate(JRVerifier verifier)
Validates the dataset using a verifier.
|
getDatasetclone, evaluate, evaluateDatasetRun, evaluateIncrementWhenExpression, getDatasetRun, getFillDataset, getFiller, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getInputDataset, getLocale, getResetGroup, getResetTypeValue, getTimeZone, increment, initialize, setBandequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValueclonepublic static final String EXCEPTION_MESSAGE_KEY_SERIES_NULL_CLOSE_VALUE
public static final String EXCEPTION_MESSAGE_KEY_SERIES_NULL_DATE_VALUE
public static final String EXCEPTION_MESSAGE_KEY_SERIES_NULL_HIGH_VALUE
public static final String EXCEPTION_MESSAGE_KEY_SERIES_NULL_LOW_VALUE
public static final String EXCEPTION_MESSAGE_KEY_SERIES_NULL_OPEN_VALUE
public static final String EXCEPTION_MESSAGE_KEY_SERIES_NULL_VOLUME_VALUE
public JRFillHighLowDataset(JRHighLowDataset dataset, JRFillObjectFactory factory)
protected void customInitialize()
JRFillElementDatasetThe dataset is initialized before being used and after each time the dataset gets reset.
customInitialize in class JRFillElementDatasetJRFillElementDataset.getResetTypeValue()protected void customEvaluate(JRCalculator calculator) throws JRExpressionEvalException
JRFillElementDataset
Usually, the result of the evaluation would be preserved so that it is
used in JRFillElementDataset.customIncrement()
customEvaluate in class JRFillElementDatasetcalculator - used to evaluate expressionsJRExpressionEvalException - any exception that occurs while
evaluating expressionsprotected void evaluateSectionHyperlink(JRCalculator calculator) throws JRExpressionEvalException
JRExpressionEvalExceptionprotected void customIncrement()
JRFillElementDatasetcustomIncrement in class JRFillElementDatasetpublic org.jfree.data.general.Dataset getCustomDataset()
getCustomDataset in class JRFillChartDatasetpublic Object getLabelGenerator()
getLabelGenerator in class JRFillChartDatasetpublic JRExpression getSeriesExpression()
getSeriesExpression in interface JRHighLowDatasetjava.lang.Comparable value returned by this expression,
and it must also be used as the series name in the chart's legend.public JRExpression getDateExpression()
getDateExpression in interface JRHighLowDatasetpublic JRExpression getHighExpression()
getHighExpression in interface JRHighLowDatasetpublic JRExpression getLowExpression()
getLowExpression in interface JRHighLowDatasetpublic JRExpression getOpenExpression()
getOpenExpression in interface JRHighLowDatasetpublic JRExpression getCloseExpression()
getCloseExpression in interface JRHighLowDatasetpublic JRExpression getVolumeExpression()
getVolumeExpression in interface JRHighLowDatasetpublic byte getDatasetType()
JRChartDatasetgetDatasetType in interface JRChartDatasetpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementDatasetpublic JRHyperlink getItemHyperlink()
JRHighLowDatasetThe hyperlink will be evaluated for every chart item and a image map will be created for the chart.
getItemHyperlink in interface JRHighLowDatasetpublic boolean hasItemHyperlink()
public List<JRPrintHyperlink> getItemHyperlinks()
public void validate(JRVerifier verifier)
JRChartDatasetBroken rules are collected by the verifier.
validate in interface JRChartDatasetverifier - the verifier to use for validationCopyright © 2017. All rights reserved.