Package org.esa.snap.ui.product.spectrum
Class SpectrumShapeProvider
- java.lang.Object
-
- org.esa.snap.ui.product.spectrum.SpectrumShapeProvider
-
public class SpectrumShapeProvider extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_SCALE_GRADE
static int
EMPTY_SHAPE_INDEX
-
Constructor Summary
Constructors Constructor Description SpectrumShapeProvider()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Shape
getScaledShape(int shapeIndex, int scaleGrade)
static Integer[]
getScaleGrades()
static int
getShape(ImageIcon shapeIcon)
static ImageIcon
getShapeIcon(int symbolIndex)
static ImageIcon[]
getShapeIcons()
static int
getValidIndex(int i, boolean allowEmptySymbol)
-
-
-
Field Detail
-
DEFAULT_SCALE_GRADE
public static final int DEFAULT_SCALE_GRADE
- See Also:
- Constant Field Values
-
EMPTY_SHAPE_INDEX
public static final int EMPTY_SHAPE_INDEX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getScaledShape
public static Shape getScaledShape(int shapeIndex, int scaleGrade)
-
getValidIndex
public static int getValidIndex(int i, boolean allowEmptySymbol)
-
getShapeIcon
public static ImageIcon getShapeIcon(int symbolIndex)
-
getShapeIcons
public static ImageIcon[] getShapeIcons()
-
getScaleGrades
public static Integer[] getScaleGrades()
-
getShape
public static int getShape(ImageIcon shapeIcon)
-
-