Interface IPenDatasource
-
- All Known Subinterfaces:
IHistogramDatasource
- All Known Implementing Classes:
AbstractCalculatedPenDatasource,AbstractFunctionPenDatasource,ConstantPenDatasource,HistogramQuery,LinearRegressionPenDatasource,MovingAveragePenDatasource,MultiplyPenDatasource,PenSQLQuery,RunningSumPenDatasource,SpcPenDatasource,SumDiffPenDatasource,TagDensityHistogramSource,TagHistoryPenDatasource
public interface IPenDatasource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddPen(PenData penData)Adds a pen to this datasource.DatasetgetDataset()The underlying dataset that drives this datasourceintgetNumDatapoints()Return the number of datapoints currently loaded in this sourcevoidinitRefs(java.util.Map<java.lang.String,PenData> allPens)Gives the datasource a chance to install references to other pensbooleanisZoomTracking()True if this datasource should be restarted when the zoom level changes.voidshutdown()Shuts this datasoure down, if it has re-occurring activity.voidstartup(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.
-
-