Interface IPenDatasource

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addPen​(PenData penData)
      Adds a pen to this datasource.
      Dataset getDataset()
      The underlying dataset that drives this datasource
      int getNumDatapoints()
      Return the number of datapoints currently loaded in this source
      void initRefs​(java.util.Map<java.lang.String,​PenData> allPens)
      Gives the datasource a chance to install references to other pens
      boolean isZoomTracking()
      True if this datasource should be restarted when the zoom level changes.
      void shutdown()
      Shuts this datasoure down, if it has re-occurring activity.
      void startup​(PMIEasyChart chart)
      Start this datasouce up.
    • Method Detail

      • addPen

        void addPen​(PenData penData)
        Adds a pen to this datasource. All pens will be added before startup() is called for the first time.
      • initRefs

        void initRefs​(java.util.Map<java.lang.String,​PenData> allPens)
        Gives the datasource a chance to install references to other pens
      • startup

        void startup​(PMIEasyChart chart)
        Start this datasouce up. This should certainly mean that the data gets generated at least once, and possibly more based upon the chart's polling settings. May be called again after shutdown().
      • shutdown

        void shutdown()
        Shuts this datasoure down, if it has re-occurring activity.
      • getNumDatapoints

        int getNumDatapoints()
        Return the number of datapoints currently loaded in this source
      • getDataset

        Dataset getDataset()
        The underlying dataset that drives this datasource
      • isZoomTracking

        boolean isZoomTracking()
        True if this datasource should be restarted when the zoom level changes.