com.androidplot.ui
Class SeriesRenderer<PlotType extends Plot,SeriesType extends Series,SeriesFormatterType extends Formatter>

java.lang.Object
  extended by com.androidplot.ui.SeriesRenderer<PlotType,SeriesType,SeriesFormatterType>
Direct Known Subclasses:
PieRenderer, XYSeriesRenderer

public abstract class SeriesRenderer<PlotType extends Plot,SeriesType extends Series,SeriesFormatterType extends Formatter>
extends Object


Constructor Summary
SeriesRenderer(PlotType plot)
           
 
Method Summary
 void drawSeriesLegendIcon(android.graphics.Canvas canvas, android.graphics.RectF rect, SeriesFormatterType formatter)
           
 SeriesFormatterType getFormatter(SeriesType series)
           
 PlotType getPlot()
           
 SeriesAndFormatterList<SeriesType,SeriesFormatterType> getSeriesAndFormatterList()
           
abstract  void onRender(android.graphics.Canvas canvas, android.graphics.RectF plotArea)
           
 void render(android.graphics.Canvas canvas, android.graphics.RectF plotArea)
           
 void setPlot(PlotType plot)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeriesRenderer

public SeriesRenderer(PlotType plot)
Method Detail

getPlot

public PlotType getPlot()

setPlot

public void setPlot(PlotType plot)

getSeriesAndFormatterList

public SeriesAndFormatterList<SeriesType,SeriesFormatterType> getSeriesAndFormatterList()

getFormatter

public SeriesFormatterType getFormatter(SeriesType series)

render

public void render(android.graphics.Canvas canvas,
                   android.graphics.RectF plotArea)
            throws PlotRenderException
Throws:
PlotRenderException

onRender

public abstract void onRender(android.graphics.Canvas canvas,
                              android.graphics.RectF plotArea)
                       throws PlotRenderException
Throws:
PlotRenderException

drawSeriesLegendIcon

public void drawSeriesLegendIcon(android.graphics.Canvas canvas,
                                 android.graphics.RectF rect,
                                 SeriesFormatterType formatter)


Copyright © 2010-2013 androidplot.com. All Rights Reserved.