Package com.androidplot
Interface PlotListener
-
- All Implemented Interfaces:
public interface PlotListenerDefines methods used for monitoring events generated by a Plot.
-
-
Method Summary
Modifier and Type Method Description abstract voidonBeforeDraw(@NonNull() Plot source, @NonNull() Canvas canvas)Fired immediately before the Plot "source" is drawn onto canvas. abstract voidonAfterDraw(@NonNull() Plot source, @NonNull() Canvas canvas)Fired immediately after the Plot "source" is drawn onto canvas. -
-
Method Detail
-
onBeforeDraw
abstract void onBeforeDraw(@NonNull() Plot source, @NonNull() 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.
-
onAfterDraw
abstract void onAfterDraw(@NonNull() Plot source, @NonNull() 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.
-
-
-
-