class ReportChartCreator.StreamHandler extends java.lang.Object implements ReportDataStreamHandler, DataQuantizerCallback
Modifier and Type | Field and Description |
---|---|
private DiscreteTimeSeries |
discreteTimeSeries |
private long |
end |
(package private) java.io.File |
exportFile |
private int |
imageWidth |
private org.jfree.data.time.TimeSeries |
numericTimeSeries |
private ReportChartCreator.PointStatistics |
point |
private java.util.List<ReportChartCreator.PointStatistics> |
pointStatistics |
private PointTimeSeriesCollection |
pointTimeSeriesCollection |
private AbstractDataQuantizer |
quantizer |
private ReportCsvStreamer |
reportCsvStreamer |
private long |
start |
Constructor and Description |
---|
StreamHandler(long start,
long end,
int imageWidth,
boolean createExportFile,
java.util.ResourceBundle bundle) |
Modifier and Type | Method and Description |
---|---|
void |
done()
Indicates that the last of the information has been sent, i.e. the other methods will no longer be called.
|
private void |
donePoint() |
java.util.List<ReportChartCreator.PointStatistics> |
getPointStatistics() |
PointTimeSeriesCollection |
getPointTimeSeriesCollection() |
void |
pointData(ReportDataValue rdv)
Provides a single data value for the current point.
|
void |
quantizedData(MangoValue value,
long time) |
void |
startPoint(ReportPointInfo pointInfo)
Called before the data for the given point is provided.
|
private final long start
private final long end
private final int imageWidth
java.io.File exportFile
private ReportCsvStreamer reportCsvStreamer
private final java.util.List<ReportChartCreator.PointStatistics> pointStatistics
private final PointTimeSeriesCollection pointTimeSeriesCollection
private ReportChartCreator.PointStatistics point
private org.jfree.data.time.TimeSeries numericTimeSeries
private DiscreteTimeSeries discreteTimeSeries
private AbstractDataQuantizer quantizer
public StreamHandler(long start, long end, int imageWidth, boolean createExportFile, java.util.ResourceBundle bundle)
public java.util.List<ReportChartCreator.PointStatistics> getPointStatistics()
public PointTimeSeriesCollection getPointTimeSeriesCollection()
public void startPoint(ReportPointInfo pointInfo)
ReportDataStreamHandler
startPoint
in interface ReportDataStreamHandler
public void pointData(ReportDataValue rdv)
ReportDataStreamHandler
pointData
in interface ReportDataStreamHandler
private void donePoint()
public void done()
ReportDataStreamHandler
done
in interface ReportDataStreamHandler
public void quantizedData(MangoValue value, long time)
quantizedData
in interface DataQuantizerCallback