public class WrappedDataSet extends AbstractDataSet<WrappedDataSet>
dataLabels, dataStyles, editConstraints, errorList, infoList, lock, metaInfoMap, name, updateListeners, warningList, xRange, yRangeTAG_GAIN_RANGE, TAG_OVERSHOOT, TAG_UNDERSHOOT| Constructor and Description |
|---|
WrappedDataSet(String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDataCount()
Get the number of data points in the data set
|
int |
getDataCount(double xmin,
double xmax)
Gets the number of data points in the range xmin to xmax.
|
DataSet |
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 |
getXMax()
Gets the maximum x value of the data set.
|
double |
getXMin()
Gets the minimum x value of the data set.
|
double |
getY(int i)
Gets the y value of the data point with the index i
|
double |
getYMax()
Gets the maximum y value of the data set.
|
double |
getYMin()
Gets the minimum y value of the data set.
|
void |
setDataset(DataSet dataset)
update/overwrite internal data set with content from other data set
|
addDataLabel, addDataStyle, binarySearchX, binarySearchY, clearMetaInfo, computeLimits, fireInvalidated, getDataLabel, getDataLabelMap, getDataStyleMap, getEditConstraints, getErrorList, getInfoList, getMetaInfo, getThis, getUndefValue, getWarningList, getXRange, getYIndex, getYRange, isAutoNotification, lock, minNeigbourSearchX, removeDataLabel, removeStyle, setAutoNotifaction, setEditConstraints, setName, toString, unlock, updateEventListenergetStyle, setStyleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetStyle, getValue, getXValues, getYValues, setStyleaddListener, invokeListener, invokeListener, removeListenerpublic WrappedDataSet(String name)
name - data set namepublic String getName()
getName in interface DataSetgetName in class AbstractDataSet<WrappedDataSet>public void setDataset(DataSet dataset)
dataset - new data setpublic DataSet getDataset()
public int getDataCount()
DataSetpublic int getDataCount(double xmin,
double xmax)
AbstractDataSetgetDataCount in interface DataSetgetDataCount in class AbstractDataSet<WrappedDataSet>xmin - the lower end of the rangexmax - the upper end of the rangepublic double getX(int i)
DataSeti - the index of the data pointpublic double getY(int i)
DataSeti - the index of the data pointpublic int getXIndex(double x)
AbstractDataSetgetXIndex in interface DataSetgetXIndex in class AbstractDataSet<WrappedDataSet>x - the x position of the data pointpublic double getXMin()
AbstractDataSetgetXMin in interface DataSetgetXMin in class AbstractDataSet<WrappedDataSet>public double getXMax()
AbstractDataSetgetXMax in interface DataSetgetXMax in class AbstractDataSet<WrappedDataSet>public double getYMin()
AbstractDataSetgetYMin in interface DataSetgetYMin in class AbstractDataSet<WrappedDataSet>public double getYMax()
AbstractDataSetgetYMax in interface DataSetgetYMax 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 pointCopyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.