protected static enum ChapMenuItems.CalculationType extends java.lang.Enum<ChapMenuItems.CalculationType>
Enum Constant and Description |
---|
EQ_OF_TIME
Calculate the equation of time
|
EQUINOXES_SOLSTICES
Calculate time of equinoxes and solstices
|
LOAD_ORBITAL_ELEMENTS
Load Sun's orbital elements from a disk file
|
SHOW_ORBITAL_ELEMENTS
Display the Sun's orbital elements
|
SUN_DIST_AND_ANG_DIAMETER
Calculate Solar distance and angular diameter
|
SUN_LOCATION
Calculate the Sun's location
|
SUN_RISE_SET
Calculate Sunrise/Sunset
|
TERM_CRITERIA
Set a termination criteria for solving Kepler's equation
|
Modifier and Type | Method and Description |
---|---|
static ChapMenuItems.CalculationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChapMenuItems.CalculationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChapMenuItems.CalculationType SUN_LOCATION
public static final ChapMenuItems.CalculationType SUN_RISE_SET
public static final ChapMenuItems.CalculationType EQUINOXES_SOLSTICES
public static final ChapMenuItems.CalculationType SUN_DIST_AND_ANG_DIAMETER
public static final ChapMenuItems.CalculationType EQ_OF_TIME
public static final ChapMenuItems.CalculationType TERM_CRITERIA
public static final ChapMenuItems.CalculationType LOAD_ORBITAL_ELEMENTS
public static final ChapMenuItems.CalculationType SHOW_ORBITAL_ELEMENTS
public static ChapMenuItems.CalculationType[] values()
for (ChapMenuItems.CalculationType c : ChapMenuItems.CalculationType.values()) System.out.println(c);
public static ChapMenuItems.CalculationType 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