public enum StarChartSource extends java.lang.Enum<StarChartSource>
Enum Constant and Description |
---|
ASTROGRID |
LOCAL_FILES |
SIMBAD |
Modifier and Type | Method and Description |
---|---|
static StarChartSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StarChartSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StarChartSource SIMBAD
public static final StarChartSource ASTROGRID
public static final StarChartSource LOCAL_FILES
public static StarChartSource[] values()
for (StarChartSource c : StarChartSource.values()) System.out.println(c);
public static StarChartSource valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null