com.odesys.chart.piechart
Class DefaultPieChartModel

java.lang.Object
  |
  +--com.odesys.chart.DefaultChartModel
        |
        +--com.odesys.chart.piechart.DefaultPieChartModel
All Implemented Interfaces:
ChartModel, PieChartModel

public class DefaultPieChartModel
extends DefaultChartModel
implements PieChartModel

DefaultPieChartModel is a default implementation of the PieChartModel interface.


Fields inherited from class com.odesys.chart.DefaultChartModel
m_series, m_seriesData
 
Fields inherited from interface com.odesys.chart.piechart.PieChartModel
EXPLODED
 
Fields inherited from interface com.odesys.chart.ChartModel
COLOR, LABEL, SERIES, VALUE
 
Constructor Summary
DefaultPieChartModel()
           
 
Method Summary
 ChartElement createChartElement(Series series)
          Factory method to create ChartElements for the DefaultPieChartModel.
 
Methods inherited from class com.odesys.chart.DefaultChartModel
addElement, addModelChangeListener, addSeries, createSeries, createSeriesElements, elementsOf, fireModelChanged, getElementAt, getSeriesAt, getSeriesSize, getSizeOf, insertElementAt, insertSeriesAt, nextColor, removeElementAt, removeModelChangeListener, removeSeriesAt, series, setUpdateLocked
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.odesys.chart.ChartModel
addModelChangeListener, fireModelChanged, getSeriesSize, removeModelChangeListener, series
 

Constructor Detail

DefaultPieChartModel

public DefaultPieChartModel()
Method Detail

createChartElement

public ChartElement createChartElement(Series series)
Factory method to create ChartElements for the DefaultPieChartModel. This method creates DefaultSliceData instances.
Overrides:
createChartElement in class DefaultChartModel
Returns:
A new DefaultSliceData for the specified data Series.