public class SpectrumShapeProvider extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_SCALE_GRADE |
static int |
EMPTY_SHAPE_INDEX |
Constructor and Description |
---|
SpectrumShapeProvider() |
Modifier and Type | Method and 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) |
public static final int DEFAULT_SCALE_GRADE
public static final int EMPTY_SHAPE_INDEX
public static Shape getScaledShape(int shapeIndex, int scaleGrade)
public static int getValidIndex(int i, boolean allowEmptySymbol)
public static ImageIcon getShapeIcon(int symbolIndex)
public static ImageIcon[] getShapeIcons()
public static Integer[] getScaleGrades()
public static int getShape(ImageIcon shapeIcon)
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.