com.odesys.chart.linechart
Class DefaultLineChartModel

java.lang.Object
  |
  +--com.odesys.chart.DefaultChartModel
        |
        +--com.odesys.chart.linechart.DefaultLineChartModel
All Implemented Interfaces:
ChartModel, LineChartModel

public class DefaultLineChartModel
extends DefaultChartModel
implements LineChartModel

DefaultLineChartModel is a default implementation of the LineChartModel interface. It inherits most of its implementation from its superclass DefaultChartModel.


Fields inherited from class com.odesys.chart.DefaultChartModel
m_series, m_seriesData
 
Fields inherited from interface com.odesys.chart.linechart.LineChartModel
STYLE
 
Fields inherited from interface com.odesys.chart.ChartModel
COLOR, LABEL, SERIES, VALUE
 
Constructor Summary
DefaultLineChartModel()
           
 
Method Summary
 ChartElement createChartElement(Series series)
          Factory method that creates ChartElement instances for this DefaultLineChartModel.
 Series createSeries()
          Factory method that creates Series instances for this DefaultLineChartModel.
 
Methods inherited from class com.odesys.chart.DefaultChartModel
addElement, addModelChangeListener, addSeries, 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

DefaultLineChartModel

public DefaultLineChartModel()
Method Detail

createChartElement

public ChartElement createChartElement(Series series)
Factory method that creates ChartElement instances for this DefaultLineChartModel. This method returns a DefaultPointData instance.
Overrides:
createChartElement in class DefaultChartModel
Returns:
A new DefaultPointData instance.

createSeries

public Series createSeries()
Factory method that creates Series instances for this DefaultLineChartModel. This method returns a DefaultLine instance.
Overrides:
createSeries in class DefaultChartModel
Returns:
A new DefaultLine instance.