com.odesys.chart.linechart
Class DefaultLine

java.lang.Object
  |
  +--com.odesys.chart.DefaultSeries
        |
        +--com.odesys.chart.linechart.DefaultLine
All Implemented Interfaces:
Line, Series

public class DefaultLine
extends DefaultSeries
implements Line

DefaultLine is a default implementation of the Line interface used by the DefaultLineChartModel.


Fields inherited from interface com.odesys.chart.linechart.Line
CIRCLE, NONE, SQUARE, TRIANGLE
 
Constructor Summary
DefaultLine(DefaultLineChartModel model)
          Creates a new DefaultLine instance for the specified DefaultLineChartModel.
 
Method Summary
 int getStyle()
          Gets the style of this DefaultLine.
 void setStyle(int style)
          Sets the style of this DefaultLine.
 
Methods inherited from class com.odesys.chart.DefaultSeries
addElement, elements, getColor, getElementAt, getLabel, getModel, getSize, insertElementAt, removeElementAt, setColor, setLabel
 
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.Series
elements, getColor, getLabel, getModel, getSize, setColor, setLabel
 

Constructor Detail

DefaultLine

public DefaultLine(DefaultLineChartModel model)
Creates a new DefaultLine instance for the specified DefaultLineChartModel.
Method Detail

getStyle

public int getStyle()
Gets the style of this DefaultLine.
Specified by:
getStyle in interface Line
Returns:
The style of this DefaultLine.

setStyle

public void setStyle(int style)
Sets the style of this DefaultLine.
Specified by:
setStyle in interface Line