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 AnnotationDatapublic boolean getState()
getState in interface AnnotationDatapublic void setState(boolean b)
setState in interface AnnotationDatapublic java.util.List<Measurement> getMeasurements()
public void setMeasurements(java.util.List<Measurement> measurements)
public Parameters getParameters()
getParameters in interface AnnotationDatapublic 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 AnnotationDatapublic MeasurementData getData()
getData in interface AnnotationDatapublic void addSpecShift(double dx)
addSpecShift in interface AnnotationDatapublic java.lang.String getKey()
getKey in interface AnnotationDatapublic void setKey(java.lang.String key)
setKey in interface AnnotationDatapublic boolean isVisible()
isVisible in interface AnnotationDatapublic void getInfo(java.util.Map<java.lang.String,java.lang.Object> info)