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 SummaryAll 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- 
addPenvoid addPen(PenData penData) Adds a pen to this datasource. All pens will be added before startup() is called for the first time.
 - 
initRefsvoid initRefs(java.util.Map<java.lang.String,PenData> allPens) Gives the datasource a chance to install references to other pens
 - 
startupvoid 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().
 - 
shutdownvoid shutdown() Shuts this datasoure down, if it has re-occurring activity.
 - 
getNumDatapointsint getNumDatapoints() Return the number of datapoints currently loaded in this source
 - 
getDatasetDataset getDataset() The underlying dataset that drives this datasource
 - 
isZoomTrackingboolean isZoomTracking() True if this datasource should be restarted when the zoom level changes.
 
- 
 
-