D - java generics handling of DataSet for derived classes (needed for fluent design)public abstract class AbstractDataSet3D<D extends AbstractDataSet3D<D>> extends AbstractDataSet<D> implements DataSet3D
DataSet3D interface.| Modifier and Type | Field and Description |
|---|---|
protected DataRange |
zRange |
lock, name, updateListeners, xRange, yRangeTAG_GAIN_RANGE, TAG_OVERSHOOT, TAG_UNDERSHOOT| Constructor and Description |
|---|
AbstractDataSet3D(String name)
Creates a new
AbstractDataSet3D. |
| Modifier and Type | Method and Description |
|---|---|
protected D |
computeLimits()
recompute data set limits
|
int |
getDataCount()
Returns total number of data points in this data set:
xDataCount * yDataCount. |
int |
getXIndex(double x)
Gets the index of the data point closest to the given x coordinate.
|
int |
getYIndex(double y)
Gets the first index of the data point closest to the given y coordinate.
|
DataRange |
getZRange()
Returns data range of Z values.
|
binarySearchX, binarySearchY, fireInvalidated, getDataCount, getDataLabel, getErrorList, getInfoList, getMetaInfo, getName, getThis, getUndefValue, getWarningList, getXMax, getXMin, getXRange, getYMax, getYMin, getYRange, isAutoNotification, lock, minNeigbourSearchX, setAutoNotifaction, setName, toString, unlock, updateEventListenergetStyle, setStyleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetXDataCount, getYDataCount, getZ, setgetDataCount, getDataLabel, getName, getStyle, getStyle, getUndefValue, getValue, getX, getXMax, getXMin, getXValues, getY, getYMax, getYMin, getYValues, isAutoNotification, lock, setAutoNotifaction, setStyle, unlockaddListener, invokeListener, invokeListener, removeListener, updateEventListenerprotected DataRange zRange
public AbstractDataSet3D(String name)
AbstractDataSet3D.name - name of this data set.public int getDataCount()
xDataCount * yDataCount.getDataCount in interface DataSetpublic DataRange getZRange()
DataSet3Dprotected D computeLimits()
computeLimits in class AbstractDataSet<D extends AbstractDataSet3D<D>>public int getXIndex(double x)
getXIndex in interface DataSetgetXIndex in class AbstractDataSet<D extends AbstractDataSet3D<D>>x - the x position of the data pointpublic int getYIndex(double y)
getYIndex in interface DataSetgetYIndex in class AbstractDataSet<D extends AbstractDataSet3D<D>>y - the y position of the data pointCopyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.