com.androidplot.ui
Class DataRenderer<PlotType extends Plot,SeriesFormatterType extends Formatter>

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

public abstract class DataRenderer<PlotType extends Plot,SeriesFormatterType extends Formatter>
extends java.lang.Object


Constructor Summary
DataRenderer(PlotType plot)
           
 
Method Summary
 void drawRegionLegendIcon(android.graphics.Canvas canvas, android.graphics.RectF rect, XYRegionFormatter formatter)
           
 void drawSeriesLegendIcon(android.graphics.Canvas canvas, android.graphics.RectF rect, SeriesFormatterType formatter)
           
 SeriesFormatterType getFormatter(Series series)
           
 PlotType getPlot()
           
 SeriesAndFormatterList<XYSeries,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

DataRenderer

public DataRenderer(PlotType plot)
Method Detail

getPlot

public PlotType getPlot()

setPlot

public void setPlot(PlotType plot)

getSeriesAndFormatterList

public SeriesAndFormatterList<XYSeries,SeriesFormatterType> getSeriesAndFormatterList()

getFormatter

public SeriesFormatterType getFormatter(Series 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)

drawRegionLegendIcon

public void drawRegionLegendIcon(android.graphics.Canvas canvas,
                                 android.graphics.RectF rect,
                                 XYRegionFormatter formatter)


Copyright © 2011. All Rights Reserved.