org.jcamp.spectrum.ISpectrumLabel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcamp-dx Show documentation
Show all versions of jcamp-dx Show documentation
The JCAMP-DX project is the reference implemention of the IUPAC JCAMP-DX spectroscopy data standard.
The newest version!
package org.jcamp.spectrum;
/**
* spectrum labels (peak labels, pattern labels, assignments etc.).
*
* @author Thomas Weber
*/
public interface ISpectrumLabel
extends Comparable {
/**
* returns the label text
* @return String label text
*/
String getLabel();
/**
* returns current position in spectrum coordinates
* @return double[] coordinates of the position
*/
double[] getPosition();
/**
* translate the label the translation vector amount
* @param amount double[] translation vector
*/
void translate(double[] amount);
}