com.androidplot.util
Class PlotStatistics
java.lang.Object
com.androidplot.util.PlotStatistics
- All Implemented Interfaces:
- PlotListener
public class PlotStatistics
- extends Object
- implements PlotListener
!!! THIS CLASS IS STILL UNDER DEVELOPMENT AND MAY CONTAIN BUGS !!!
Gathers performance statistics from a Plot. Instances of PlotStatistics
should never be added to more than one Plot, otherwise the statiscs will
be invalid.
Constructor Summary |
PlotStatistics(long updateDelayMs,
boolean annotatePlotEnabled)
|
PlotStatistics
public PlotStatistics(long updateDelayMs,
boolean annotatePlotEnabled)
setAnnotatePlotEnabled
public void setAnnotatePlotEnabled(boolean enabled)
onPlotUpdate
public void onPlotUpdate(PlotEvent event)
- Specified by:
onPlotUpdate
in interface PlotListener
onBeforeDraw
public void onBeforeDraw(Plot source,
android.graphics.Canvas canvas)
- Specified by:
onBeforeDraw
in interface PlotListener
onAfterDraw
public void onAfterDraw(Plot source,
android.graphics.Canvas canvas)
- Specified by:
onAfterDraw
in interface PlotListener
Copyright © 2010-2013 androidplot.com. All Rights Reserved.