com.androidplot
Interface PlotListener

All Known Implementing Classes:
PlotStatistics, SimpleXYSeries

public interface PlotListener

Defines methods used for monitoring events generated by a Plot.


Method Summary
 void onAfterDraw(Plot source, android.graphics.Canvas canvas)
          Fired immediately after the Plot "source" is drawn onto canvas.
 void onBeforeDraw(Plot source, android.graphics.Canvas canvas)
          Fired immediately before the Plot "source" is drawn onto canvas.
 

Method Detail

onBeforeDraw

void onBeforeDraw(Plot source,
                  android.graphics.Canvas canvas)
Fired immediately before the Plot "source" is drawn onto canvas. Commonly used by implementing Series instances to activate a read lock on it's self in preparation for the Plot's imminent reading of that series.

Parameters:
source -
canvas -

onAfterDraw

void onAfterDraw(Plot source,
                 android.graphics.Canvas canvas)
Fired immediately after the Plot "source" is drawn onto canvas. Just as onBeforeDraw(...) is commonly used by Series implementations to activate a read lock, this method is commonly used to release that same lock.

Parameters:
source -
canvas -


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