Package 

Interface PlotListener


  • 
    public interface PlotListener
    
                        

    Defines methods used for monitoring events generated by a Plot.

    • Method Summary

      Modifier and Type Method Description
      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.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.