-
public interface PlotListenerDefines methods used for monitoring events generated by a Plot.
-
-
Method Summary
Modifier and Type Method Description abstract voidonBeforeDraw(Plot source, Canvas canvas)Fired immediately before the Plot "source" is drawn onto canvas.Commonly used by implementing Series instances to activate a readlock on it's self in preparation for the Plot's imminent readingof that series. abstract voidonAfterDraw(Plot source, Canvas canvas)Fired immediately after the Plot "source" is drawn onto canvas.Just as onBeforeDraw(...) is commonly used by Series implementationsto activate a read lock, this method is commonly used to release thatsame lock. -
-
Method Detail
-
onBeforeDraw
abstract void onBeforeDraw(Plot source, Canvas canvas)
Fired immediately before the Plot "source" is drawn onto canvas.Commonly used by implementing Series instances to activate a readlock on it's self in preparation for the Plot's imminent readingof that series.
-
onAfterDraw
abstract void onAfterDraw(Plot source, Canvas canvas)
Fired immediately after the Plot "source" is drawn onto canvas.Just as onBeforeDraw(...) is commonly used by Series implementationsto activate a read lock, this method is commonly used to release thatsame lock.
-
-
-
-