com.odesys.chart.linechart
Class LineLegendView

java.lang.Object
  |
  +--com.odesys.chart.ChartView
        |
        +--com.odesys.chart.LegendView
              |
              +--com.odesys.chart.linechart.LineLegendView

public class LineLegendView
extends LegendView

LineLegendView extends LegendView and uses LineLegendItems instead of the LegendItems used by default.


Fields inherited from class com.odesys.chart.ChartView
m_chart
 
Constructor Summary
LineLegendView(Chart chart)
          Creates a new LineLegendView instance for the specified Chart.
 
Method Summary
 LegendItem createLegendItem(Series series)
          Factory method that creates the LegendItem instances that are used by this LineLegendView.
 
Methods inherited from class com.odesys.chart.LegendView
getPreferredSize, paint, setModel, updateAggregates, updateDrawables
 
Methods inherited from class com.odesys.chart.ChartView
getBackground, getFont, getForeground, isAutoScaleToFit, isContoursVisible, isLabelsVisible, location, repaint, reshape, setAutoScaleToFit, setBackground, setContoursVisible, setFont, setForeground, setLabelsVisible, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineLegendView

public LineLegendView(Chart chart)
Creates a new LineLegendView instance for the specified Chart.
Method Detail

createLegendItem

public LegendItem createLegendItem(Series series)
Factory method that creates the LegendItem instances that are used by this LineLegendView. This method return a LineLegendItem instance.
Overrides:
createLegendItem in class LegendView