|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.fill.JRFillElementDataset
net.sf.jasperreports.engine.fill.JRFillChartDataset
net.sf.jasperreports.charts.fill.JRFillPieDataset
public class JRFillPieDataset
| Field Summary |
|---|
| Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElementDataset |
|---|
datasetRun, incrementGroup, parent, resetGroup |
| Fields inherited from interface net.sf.jasperreports.engine.JRChartDataset |
|---|
CATEGORY_DATASET, GANTT_DATASET, HIGHLOW_DATASET, PIE_DATASET, TIMEPERIOD_DATASET, TIMESERIES_DATASET, VALUE_DATASET, XY_DATASET, XYZ_DATASET |
| Constructor Summary | |
|---|---|
JRFillPieDataset(JRPieDataset pieDataset,
JRFillObjectFactory factory)
|
|
| Method Summary | |
|---|---|
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)
|
org.jfree.data.general.Dataset |
getCustomDataset()
|
byte |
getDatasetType()
Gets the dataset type. |
JRExpression |
getKeyExpression()
|
JRExpression |
getLabelExpression()
|
PieLabelGenerator |
getLabelGenerator()
|
JRHyperlink |
getSectionHyperlink()
Returns the hyperlink specification for chart sections. |
java.util.Map |
getSectionHyperlinks()
|
JRExpression |
getValueExpression()
|
boolean |
hasSectionHyperlinks()
|
void |
validate(JRVerifier verifier)
Validates the dataset using a verifier. |
| Methods inherited from class net.sf.jasperreports.engine.fill.JRFillChartDataset |
|---|
getDataset |
| Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElementDataset |
|---|
clone, evaluate, evaluateDatasetRun, evaluateIncrementWhenExpression, getDatasetRun, getIncrementGroup, getIncrementType, getIncrementWhenExpression, getInputDataset, getResetGroup, getResetType, getTimeZone, increment, initialize |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jasperreports.engine.JRElementDataset |
|---|
getDatasetRun, getIncrementGroup, getIncrementType, getIncrementWhenExpression, getResetGroup, getResetType |
| Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
|---|
clone |
| Constructor Detail |
|---|
public JRFillPieDataset(JRPieDataset pieDataset,
JRFillObjectFactory factory)
| Method Detail |
|---|
public JRExpression getKeyExpression()
getKeyExpression in interface JRPieDatasetpublic JRExpression getValueExpression()
getValueExpression in interface JRPieDatasetpublic JRExpression getLabelExpression()
getLabelExpression in interface JRPieDatasetprotected void customInitialize()
JRFillElementDatasetThe dataset is initialized before being used and after each time the dataset gets reset.
customInitialize in class JRFillElementDatasetJRFillElementDataset.getResetType()
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 expressions
JRExpressionEvalException - any exception that occurs while
evaluating expressions
protected void evaluateSectionHyperlink(JRCalculator calculator)
throws JRExpressionEvalException
JRExpressionEvalExceptionprotected void customIncrement()
JRFillElementDataset
customIncrement in class JRFillElementDatasetpublic org.jfree.data.general.Dataset getCustomDataset()
getCustomDataset in class JRFillChartDatasetpublic byte getDatasetType()
JRChartDataset
getDatasetType in interface JRChartDatasetpublic PieLabelGenerator getLabelGenerator()
public void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementDatasetpublic JRHyperlink getSectionHyperlink()
JRPieDatasetThe hyperlink will be evaluated for every chart section and an image map will be created for the chart.
getSectionHyperlink in interface JRPieDatasetpublic boolean hasSectionHyperlinks()
public java.util.Map getSectionHyperlinks()
public void validate(JRVerifier verifier)
JRChartDatasetBroken rules are collected by the verifier.
validate in interface JRChartDatasetverifier - the verifier to use for validation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||