Package de.gsi.dataset.spi
Class RollingDataSet
- java.lang.Object
-
- de.gsi.dataset.spi.AbstractStylable<D>
-
- de.gsi.dataset.spi.AbstractDataSet<FragmentedDataSet>
-
- de.gsi.dataset.spi.FragmentedDataSet
-
- de.gsi.dataset.spi.RollingDataSet
-
- All Implemented Interfaces:
DataSet,DataSetMetaData,EventSource
public class RollingDataSet extends FragmentedDataSet
- Author:
- braeun
-
-
Field Summary
-
Fields inherited from class de.gsi.dataset.spi.FragmentedDataSet
dataCount, list
-
Fields inherited from class de.gsi.dataset.spi.AbstractDataSet
dataLabels, dataStyles, editConstraints, lock, metaInfoMap, name, updateListeners, xRange, yRange
-
Fields inherited from interface de.gsi.dataset.DataSetMetaData
TAG_GAIN_RANGE, TAG_OVERSHOOT, TAG_UNDERSHOOT
-
-
Constructor Summary
Constructors Constructor Description RollingDataSet(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(DataSet set)intgetDepth()doublegetLastLength()voidsetDepth(int d)-
Methods inherited from class de.gsi.dataset.spi.FragmentedDataSet
add, clear, getDataCount, getDataCount, getDatasetCount, getStyle, getX, getXIndex, getXValues, getY, getYValues, shallowCopy, toString
-
Methods inherited from class de.gsi.dataset.spi.AbstractDataSet
addDataLabel, addDataStyle, binarySearchX, binarySearchY, computeLimits, fireInvalidated, getDataLabel, getDefaultDataLabel, getEditConstraints, getErrorList, getInfoList, getMetaInfo, getName, getThis, getUndefValue, getWarningList, getXMax, getXMin, getXRange, getYIndex, getYMax, getYMin, getYRange, isAutoNotification, lock, minNeigbourSearchX, removeDataLabel, removeStyle, setAutoNotifaction, setEditConstraints, setName, unlock, updateEventListener
-
Methods inherited from class de.gsi.dataset.spi.AbstractStylable
getStyle, setStyle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.gsi.dataset.event.EventSource
addListener, invokeListener, invokeListener, removeListener
-
-
-
-
Method Detail
-
add
public void add(DataSet set)
- Overrides:
addin classFragmentedDataSet- Parameters:
set- new data set to be added to list
-
getLastLength
public double getLastLength()
- Returns:
- distance to last data point
-
setDepth
public void setDepth(int d)
- Parameters:
d- maximum depth before points are being dropped
-
getDepth
public int getDepth()
- Returns:
- maximum depth before points are being dropped
-
-