net.sf.jasperreports.charts.design
Class JRDesignGanttDataset
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseElementDataset
net.sf.jasperreports.engine.design.JRDesignElementDataset
net.sf.jasperreports.engine.design.JRDesignChartDataset
net.sf.jasperreports.charts.design.JRDesignGanttDataset
- All Implemented Interfaces:
- Serializable, Cloneable, JRGanttDataset, JRChangeEventsSupport, JRChartDataset, JRCloneable, JRElementDataset
public class JRDesignGanttDataset
- extends JRDesignChartDataset
- implements JRGanttDataset
- Version:
- $Id: JRDesignGanttDataset.java 4595 2011-09-08 15:55:10Z teodord $
- Author:
- Peter Risko (peter@risko.hu)
- See Also:
- Serialized Form
PROPERTY_GANTT_SERIES
public static final String PROPERTY_GANTT_SERIES
- See Also:
- Constant Field Values
JRDesignGanttDataset
public JRDesignGanttDataset(JRChartDataset dataset)
getSeries
public JRGanttSeries[] getSeries()
- Specified by:
getSeries in interface JRGanttDataset
getSeriesList
public List<JRGanttSeries> getSeriesList()
addGanttSeries
public void addGanttSeries(JRGanttSeries ganttSeries)
addGanttSeries
public void addGanttSeries(int index,
JRGanttSeries ganttSeries)
removeGanttSeries
public JRGanttSeries removeGanttSeries(JRGanttSeries ganttSeries)
getDatasetType
public byte getDatasetType()
- Description copied from interface:
JRChartDataset
- Gets the dataset type. Must be one of the dataset type constants defined in this class.
- Specified by:
getDatasetType in interface JRChartDataset- Overrides:
getDatasetType in class JRDesignChartDataset
collectExpressions
public void collectExpressions(JRExpressionCollector collector)
- Specified by:
collectExpressions in interface JRElementDataset
validate
public void validate(JRVerifier verifier)
- Description copied from interface:
JRChartDataset
- Validates the dataset using a verifier.
Broken rules are collected by the verifier.
- Specified by:
validate in interface JRChartDataset
- Parameters:
verifier - the verifier to use for validation
Copyright © 2012. All Rights Reserved.