org.jlab.coda.afecs.ui.rcgui.util.chart
Class ATimeChartDataModel
java.lang.Object
com.cosylab.gui.components.spikechart.AbstractDataModel
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
Fields inherited from class com.cosylab.gui.components.spikechart.AbstractDataModel |
chartService, chartStyle, name, point, pointCount, preferedXScale, preferedYScale |
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 |
ATimeChartDataModel
public ATimeChartDataModel()
- RandomTrendDataModel constructor comment.
ATimeChartDataModel
public ATimeChartDataModel(java.lang.String name)
- RandomTrendDataModel constructor comment.
- Parameters:
name
- of the data channel
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()