public class WrappedDataSet extends AbstractDataSet<WrappedDataSet> implements DataSet2D
TAG_GAIN_RANGE, TAG_OVERSHOOT, TAG_UNDERSHOOT| Constructor and Description |
|---|
WrappedDataSet(String name) |
| Modifier and Type | Method and Description |
|---|---|
double |
get(int dimIndex,
int index)
Gets the x value of the data point with the index i
|
List<AxisDescription> |
getAxisDescriptions() |
int |
getDataCount(int dimIndex)
Get the number of data points in the data set for a specific dimension.
|
DataSet2D |
getDataset() |
String |
getName()
Returns the name of the dataset.
|
String |
getStyle(int index)
A string representation of the CSS style associated with this specific
DataSet data point. |
double |
getX(int i)
Gets the x value of the data point with the index i
|
int |
getXIndex(double x)
Gets the index of the data point closest to the given x coordinate.
|
double |
getY(int i)
Gets the y value of the data point with the index i
|
void |
setDataset(DataSet2D dataset)
update/overwrite internal data set with content from other data set
|
addDataLabel, addDataStyle, autoNotification, binarySearch, clearMetaInfo, equalDataLabels, equalEditConstraints, equalErrorValues, equalMetaData, equals, equals, equalValues, fireInvalidated, getDataLabel, getDataLabelMap, getDataStyleMap, getDimension, getEditConstraints, getErrorList, getIndex, getInfoList, getMetaInfo, getThis, getWarningList, hashCode, lock, minNeigbourSearchX, recomputeLimits, removeDataLabel, removeStyle, setEditConstraints, setName, toString, updateEventListenergetStyle, setStyleclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDimension, getValue, getValue, getXValues, getYIndex, getYValuesgetAxisDescription, getDataCount, getDataLabel, getIndex, getStyle, getValues, lock, recomputeLimits, setStyleaddListener, autoNotification, invokeListener, invokeListener, invokeListener, isAutoNotification, removeListener, updateEventListenerpublic WrappedDataSet(String name)
name - data set namepublic double get(int dimIndex,
int index)
DataSetpublic List<AxisDescription> getAxisDescriptions()
getAxisDescriptions in interface DataSetgetAxisDescriptions in class AbstractDataSet<WrappedDataSet>public int getDataCount(int dimIndex)
DataSetgetDataCount in interface DataSetdimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')public DataSet2D getDataset()
public String getName()
getName in interface DataSetgetName in class AbstractDataSet<WrappedDataSet>public String getStyle(int index)
AbstractDataSetDataSet data point. @see
#getStyle()getStyle in interface DataSetgetStyle in class AbstractDataSet<WrappedDataSet>index - the index of the specific data pointpublic double getX(int i)
DataSet2Dpublic int getXIndex(double x)
DataSet2Dpublic double getY(int i)
DataSet2Dpublic void setDataset(DataSet2D dataset)
dataset - new data setCopyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.