public class MeasurementData extends java.util.ArrayList<Measurement> implements AnnotationData
Constructor and Description |
---|
MeasurementData(Annotation.AType type,
JDXSpectrum spec) |
Modifier and Type | Method and Description |
---|---|
void |
addSpecShift(double dx) |
static boolean |
checkParameters(MeasurementData md,
Parameters p) |
Annotation.AType |
getAType() |
MeasurementData |
getData() |
java.lang.String[] |
getDataHeader() |
void |
getInfo(java.util.Map<java.lang.String,java.lang.Object> info) |
java.lang.String |
getKey() |
java.lang.String[][] |
getMeasurementListArray(java.lang.String units) |
double[][] |
getMeasurementListArrayReal(java.lang.String units) |
java.util.List<Measurement> |
getMeasurements() |
Parameters |
getParameters() |
JDXSpectrum |
getSpectrum() |
boolean |
getState() |
boolean |
isVisible() |
void |
setKey(java.lang.String key) |
void |
setMeasurements(java.util.List<Measurement> measurements) |
void |
setState(boolean b) |
public MeasurementData(Annotation.AType type, JDXSpectrum spec)
public Annotation.AType getAType()
getAType
in interface AnnotationData
public boolean getState()
getState
in interface AnnotationData
public void setState(boolean b)
setState
in interface AnnotationData
public java.util.List<Measurement> getMeasurements()
public void setMeasurements(java.util.List<Measurement> measurements)
public Parameters getParameters()
getParameters
in interface AnnotationData
public java.lang.String[] getDataHeader()
public java.lang.String[][] getMeasurementListArray(java.lang.String units)
public double[][] getMeasurementListArrayReal(java.lang.String units)
public static boolean checkParameters(MeasurementData md, Parameters p)
public JDXSpectrum getSpectrum()
getSpectrum
in interface AnnotationData
public MeasurementData getData()
getData
in interface AnnotationData
public void addSpecShift(double dx)
addSpecShift
in interface AnnotationData
public java.lang.String getKey()
getKey
in interface AnnotationData
public void setKey(java.lang.String key)
setKey
in interface AnnotationData
public boolean isVisible()
isVisible
in interface AnnotationData
public void getInfo(java.util.Map<java.lang.String,java.lang.Object> info)