public class JRFillPieDataset extends JRFillChartDataset implements JRPieDataset
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_MESSAGE_KEY_DUPLICATED_KEY |
static String |
EXCEPTION_MESSAGE_KEY_NULL_KEY |
protected JRFillPieSeries[] |
pieSeries |
datasetRun, incrementGroup, parent, resetGroup
PROPERTY_IGNORE_DUPLICATED_KEY
CATEGORY_DATASET, GANTT_DATASET, HIGHLOW_DATASET, PIE_DATASET, TIMEPERIOD_DATASET, TIMESERIES_DATASET, VALUE_DATASET, XY_DATASET, XYZ_DATASET
Constructor and Description |
---|
JRFillPieDataset(JRPieDataset pieDataset,
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 |
evaluateOtherSectionHyperlink(JRCalculator calculator) |
org.jfree.data.general.Dataset |
getCustomDataset() |
byte |
getDatasetType()
Gets the dataset type.
|
Object |
getLabelGenerator() |
Integer |
getMaxCount() |
Float |
getMinPercentage() |
JRExpression |
getOtherKeyExpression() |
JRExpression |
getOtherLabelExpression() |
JRHyperlink |
getOtherSectionHyperlink()
Returns the hyperlink specification for the special Other chart section, if present.
|
Map<Comparable<?>,JRPrintHyperlink> |
getSectionHyperlinks() |
JRPieSeries[] |
getSeries() |
void |
setMaxCount(Integer maxCount) |
void |
setMinPercentage(Float minPercentage) |
void |
validate(JRVerifier verifier)
Validates the dataset using a verifier.
|
getDataset
clone, evaluate, evaluateDatasetRun, evaluateIncrementWhenExpression, getDatasetResetType, getDatasetRun, getFillDataset, getFiller, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getInputDataset, getLocale, getResetGroup, getTimeZone, increment, initialize, setBand
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDatasetResetType, getDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup
clone
public static final String EXCEPTION_MESSAGE_KEY_DUPLICATED_KEY
public static final String EXCEPTION_MESSAGE_KEY_NULL_KEY
protected JRFillPieSeries[] pieSeries
public JRFillPieDataset(JRPieDataset pieDataset, JRFillObjectFactory factory)
public Float getMinPercentage()
getMinPercentage
in interface JRPieDataset
public void setMinPercentage(Float minPercentage)
setMinPercentage
in interface JRPieDataset
public Integer getMaxCount()
getMaxCount
in interface JRPieDataset
public void setMaxCount(Integer maxCount)
setMaxCount
in interface JRPieDataset
public JRPieSeries[] getSeries()
getSeries
in interface JRPieDataset
JRPieSeries
objects representing the
series for the Pie or Pie 3D chartJRPieSeries
public JRExpression getOtherKeyExpression()
getOtherKeyExpression
in interface JRPieDataset
public JRExpression getOtherLabelExpression()
getOtherLabelExpression
in interface JRPieDataset
public JRHyperlink getOtherSectionHyperlink()
JRPieDataset
getOtherSectionHyperlink
in interface JRPieDataset
protected void customInitialize()
JRFillElementDataset
The dataset is initialized before being used and after each time the dataset gets reset.
customInitialize
in class JRFillElementDataset
#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 JRFillElementDataset
calculator
- used to evaluate expressionsJRExpressionEvalException
- any exception that occurs while
evaluating expressionsprotected void evaluateOtherSectionHyperlink(JRCalculator calculator) throws JRExpressionEvalException
JRExpressionEvalException
protected void customIncrement()
JRFillElementDataset
customIncrement
in class JRFillElementDataset
public org.jfree.data.general.Dataset getCustomDataset()
getCustomDataset
in class JRFillChartDataset
public byte getDatasetType()
JRChartDataset
getDatasetType
in interface JRChartDataset
public Object getLabelGenerator()
getLabelGenerator
in class JRFillChartDataset
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElementDataset
public Map<Comparable<?>,JRPrintHyperlink> getSectionHyperlinks()
public void validate(JRVerifier verifier)
JRChartDataset
Broken rules are collected by the verifier.
validate
in interface JRChartDataset
verifier
- the verifier to use for validationCopyright © 2023 Cloud Software Group, Inc.. All rights reserved.