public enum EclipseType extends Enum<EclipseType> implements Enumeration
| Enum Constant and Description | 
|---|
ANTUMBRA
The entire body is eclipsing the sun, however it is too small to
    completely block out the sun (also known as an annular eclipse). 
 | 
NONE
The object is in full sunlight. 
 | 
PARTIAL
A Partial eclipse is a Penumbra or Antumbra eclipse. 
 | 
PENUMBRA
Part of a body is eclipsing the sun. 
 | 
UMBRA
The object is totally occulted. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static EclipseType | 
getDefault()
Get the enum constant that is considered to be the default. 
 | 
static EclipseType | 
getFromValue(int value)
Get the enum constant that is associated with the given numeric value. 
 | 
int | 
getValue()
Get the numeric value associated with this enum constant. 
 | 
static EclipseType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static EclipseType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final EclipseType NONE
public static final EclipseType UMBRA
public static final EclipseType PENUMBRA
public static final EclipseType ANTUMBRA
public static final EclipseType PARTIAL
public static EclipseType[] values()
for (EclipseType c : EclipseType.values()) System.out.println(c);
public static EclipseType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
getValue in interface Enumeration@Nonnull public static EclipseType getFromValue(int value)
value - a numeric value.@Nonnull public static EclipseType getDefault()