Package jspecview.common
Class ColoredAnnotation
java.lang.Object
jspecview.common.Coordinate
jspecview.common.Annotation
jspecview.common.ColoredAnnotation
ColoredAnnotation is a label on the spectrum; not an integralRegion
- Author:
- Bob Hanson hansonr@stolaf.edu
-
Nested Class Summary
Nested classes/interfaces inherited from class jspecview.common.Annotation
Annotation.AType
-
Field Summary
Fields inherited from class jspecview.common.Annotation
isPixels, text
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
setCA
(double x, double y, Spectrum spec, String text, GenericColor color, boolean isPixels, boolean is2D, int offsetX, int offsetY) Methods inherited from class jspecview.common.Annotation
getColoredAnnotation, setA, toString
Methods inherited from class jspecview.common.Coordinate
applyScale, copy, deltaX, equals, findXForPeakNearest, getMaxX, getMaxX, getMaxY, getMaxYUser, getMinX, getMinX, getMinY, getMinYUser, getNearestIndexForX, getNearestXWithYAbove, getXVal, getYVal, getYValueAt, isYInRange, normalise, parabolicInterpolation, parseDSV, removeScale, reverse, set, setXVal, setYVal, shiftX
-
Constructor Details
-
ColoredAnnotation
public ColoredAnnotation()
-
-
Method Details
-
getColor
-
setCA
public ColoredAnnotation setCA(double x, double y, Spectrum spec, String text, GenericColor color, boolean isPixels, boolean is2D, int offsetX, int offsetY)
-