public class JRDesignPieDataset extends JRDesignChartDataset implements JRPieDataset
Modifier and Type | Field and Description |
---|---|
protected JRExpression |
otherKeyExpression |
protected JRExpression |
otherLabelExpression |
static String |
PROPERTY_KEY_EXPRESSION |
static String |
PROPERTY_LABEL_EXPRESSION |
static String |
PROPERTY_MAX_COUNT |
static String |
PROPERTY_MIN_PERCENTAGE |
static String |
PROPERTY_OTHER_KEY_EXPRESSION |
static String |
PROPERTY_OTHER_LABEL_EXPRESSION |
static String |
PROPERTY_OTHER_SECTION_HYPERLINK |
static String |
PROPERTY_PIE_SERIES |
static String |
PROPERTY_SECTION_HYPERLINK |
static String |
PROPERTY_VALUE_EXPRESSION |
PROPERTY_DATASET_RUN, PROPERTY_INCREMENT_GROUP, PROPERTY_INCREMENT_TYPE, PROPERTY_INCREMENT_WHEN_EXPRESSION, PROPERTY_RESET_GROUP, PROPERTY_RESET_TYPE
datasetRun, incrementGroup, incrementTypeValue, incrementWhenExpression, resetGroup, resetTypeValue
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 |
---|
JRDesignPieDataset(JRChartDataset dataset) |
getEventSupport, setDatasetRun, setIncrementGroup, setIncrementType, setIncrementWhenExpression, setResetGroup, setResetType
getDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValue
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValue
public static final String PROPERTY_MIN_PERCENTAGE
public static final String PROPERTY_MAX_COUNT
public static final String PROPERTY_PIE_SERIES
public static final String PROPERTY_KEY_EXPRESSION
public static final String PROPERTY_VALUE_EXPRESSION
public static final String PROPERTY_LABEL_EXPRESSION
public static final String PROPERTY_SECTION_HYPERLINK
public static final String PROPERTY_OTHER_KEY_EXPRESSION
public static final String PROPERTY_OTHER_LABEL_EXPRESSION
public static final String PROPERTY_OTHER_SECTION_HYPERLINK
protected JRExpression otherKeyExpression
protected JRExpression otherLabelExpression
public JRDesignPieDataset(JRChartDataset dataset)
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 List<JRPieSeries> getSeriesList()
public void addPieSeries(JRPieSeries pieSeries)
public void addPieSeries(int index, JRPieSeries pieSeries)
public JRPieSeries removePieSeries(JRPieSeries pieSeries)
public JRExpression getKeyExpression()
getSeries()
.public void setKeyExpression(JRExpression keyExpression)
getSeries()
.public JRExpression getValueExpression()
getSeries()
.public void setValueExpression(JRExpression valueExpression)
getSeries()
.public JRExpression getLabelExpression()
getSeries()
.public void setLabelExpression(JRExpression labelExpression)
getSeries()
.public JRHyperlink getSectionHyperlink()
getSeries()
.public void setSectionHyperlink(JRHyperlink sectionHyperlink)
getSeries()
.public JRExpression getOtherKeyExpression()
getOtherKeyExpression
in interface JRPieDataset
public void setOtherKeyExpression(JRExpression otherKeyExpression)
public JRExpression getOtherLabelExpression()
getOtherLabelExpression
in interface JRPieDataset
public void setOtherLabelExpression(JRExpression otherLabelExpression)
public JRHyperlink getOtherSectionHyperlink()
JRPieDataset
getOtherSectionHyperlink
in interface JRPieDataset
public void setOtherSectionHyperlink(JRHyperlink otherSectionHyperlink)
public byte getDatasetType()
JRChartDataset
getDatasetType
in interface JRChartDataset
getDatasetType
in class JRDesignChartDataset
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElementDataset
collectExpressions
in class JRBaseElementDataset
public 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 JRDesignElementDataset
Copyright © 2016. All rights reserved.