D - java generics handling of DataSet for derived classes (needed for fluent design)public abstract class AbstractErrorDataSet<D extends AbstractErrorDataSet<D>> extends AbstractDataSet<D> implements DataSetError
The abstract implementation of DataSet and DataSetError interface that provides implementation of some methods.
DataSetError.ErrorTypedataLabels, dataStyles, editConstraints, errorList, infoList, lock, metaInfoMap, name, updateListeners, warningList, xRange, yRangeTAG_GAIN_RANGE, TAG_OVERSHOOT, TAG_UNDERSHOOT| Modifier | Constructor and Description |
|---|---|
protected |
AbstractErrorDataSet(String name)
Creates a new instance of
AbstractDataSet. |
| Modifier and Type | Method and Description |
|---|---|
protected D |
computeLimits()
Computes limits (ranges) of this DataSet including data point errors.
|
D |
fireInvalidated(UpdateEvent event)
Notifies listeners that the data has been invalidated.
|
DataSetError.ErrorType |
getErrorType()
return the DataSetError.ErrorType of the dataset
|
protected D |
getThis() |
D |
lock()
Locks access to the data set.
|
D |
setErrorType(DataSetError.ErrorType errorType)
sets the error type of the data set
|
D |
unlock()
Unlock the data set.
|
addDataLabel, addDataStyle, binarySearchX, binarySearchY, clearMetaInfo, getDataCount, getDataLabel, getDataLabelMap, getDataStyleMap, getEditConstraints, getErrorList, getInfoList, getMetaInfo, getName, getStyle, getUndefValue, getWarningList, getXIndex, getXMax, getXMin, getXRange, getYIndex, getYMax, getYMin, getYRange, isAutoNotification, minNeigbourSearchX, removeDataLabel, removeStyle, setAutoNotifaction, setEditConstraints, setName, toString, updateEventListenergetStyle, setStyleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetXErrorNegative, getXErrorNegative, getXErrorPositive, getXErrorPositive, getXErrorsNegative, getXErrorsPositive, getYErrorNegative, getYErrorNegative, getYErrorPositive, getYErrorPositive, getYErrorsNegative, getYErrorsPositivegetDataCount, getDataCount, getDataLabel, getName, getStyle, getStyle, getUndefValue, getValue, getX, getXIndex, getXMax, getXMin, getXValues, getY, getYIndex, getYMax, getYMin, getYValues, isAutoNotification, setAutoNotifaction, setStyleaddListener, invokeListener, invokeListener, removeListener, updateEventListenerprotected AbstractErrorDataSet(String name)
AbstractDataSet.name - of the DataSetIllegalArgumentException - if name is nullprotected D getThis()
getThis in class AbstractDataSet<D extends AbstractErrorDataSet<D>>public D lock()
DataSetlock in interface DataSetlock in class AbstractDataSet<D extends AbstractErrorDataSet<D>>public D unlock()
DataSetunlock in interface DataSetunlock in class AbstractDataSet<D extends AbstractErrorDataSet<D>>public D fireInvalidated(UpdateEvent event)
AbstractDataSetfireInvalidated in class AbstractDataSet<D extends AbstractErrorDataSet<D>>event - the change eventpublic DataSetError.ErrorType getErrorType()
getErrorType in interface DataSetErrorfor detailspublic D setErrorType(DataSetError.ErrorType errorType)
errorType - error type to be setfor detailsprotected D computeLimits()
computeLimits in class AbstractDataSet<D extends AbstractErrorDataSet<D>>Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.