org.jlab.coda.afecs.ui.rcgui.util.chart
Class ATimeChartDataModel

java.lang.Object
  extended by com.cosylab.gui.components.spikechart.AbstractDataModel
      extended by org.jlab.coda.afecs.ui.rcgui.util.chart.ATimeChartDataModel
All Implemented Interfaces:
com.cosylab.gui.components.spikechart.ChartDataSource, com.cosylab.gui.components.spikechart.PointIterator

public class ATimeChartDataModel
extends com.cosylab.gui.components.spikechart.AbstractDataModel

JSA: Thomas Jefferson National Accelerator Facility
This software was developed under a United States Government license,
described in the NOTICE file included as part of this distribution.
Copyright (c), Nov 9, 2009


Field Summary
 
Fields inherited from class com.cosylab.gui.components.spikechart.AbstractDataModel
chartService, chartStyle, name, point, pointCount, preferedXScale, preferedYScale
 
Constructor Summary
ATimeChartDataModel()
          RandomTrendDataModel constructor comment.
ATimeChartDataModel(java.lang.String name)
          RandomTrendDataModel constructor comment.
 
Method Summary
 void generatePoint(double data)
           
 int getPointCount()
           
 com.cosylab.gui.components.spikechart.PointIterator getPointIterator()
           
 boolean hasNext()
           
 com.cosylab.gui.components.spikechart.Point next()
           
 
Methods inherited from class com.cosylab.gui.components.spikechart.AbstractDataModel
getChartService, getChartStyle, getName, getPreferedXScale, getPreferedYScale, getValueLabels, reloadChartData, setChartService, setChartStyle, setName, setPreferedXScale, setPreferedYScale, updateChart, updateChartData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ATimeChartDataModel

public ATimeChartDataModel()
RandomTrendDataModel constructor comment.


ATimeChartDataModel

public ATimeChartDataModel(java.lang.String name)
RandomTrendDataModel constructor comment.

Parameters:
name - of the data channel
Method Detail

getPointIterator

public com.cosylab.gui.components.spikechart.PointIterator getPointIterator()

hasNext

public boolean hasNext()

generatePoint

public void generatePoint(double data)

next

public com.cosylab.gui.components.spikechart.Point next()

getPointCount

public int getPointCount()
Specified by:
getPointCount in interface com.cosylab.gui.components.spikechart.ChartDataSource
Overrides:
getPointCount in class com.cosylab.gui.components.spikechart.AbstractDataModel
See Also:
ChartDataSource.getPointCount()