public enum GlobeOverlayRole extends Enum<GlobeOverlayRole> implements Enumeration
GlobeOverlay
.Enum Constant and Description |
---|
BASE
The
GlobeOverlay is a base image. |
NIGHT
The
GlobeOverlay is a base image
that is only displayed on the area of the CentralBody
that is not lit by the sun. |
NONE
The role of the
GlobeOverlay isn't set. |
NORMAL
The
GlobeOverlay is a normal overlay without a special role. |
SPECULAR
The
GlobeOverlay is a base image that shows
the glint of the sun on the CentralBody . |
Modifier and Type | Method and Description |
---|---|
static GlobeOverlayRole |
getDefault()
Get the enum constant that is considered to be the default.
|
static GlobeOverlayRole |
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 GlobeOverlayRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlobeOverlayRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlobeOverlayRole BASE
GlobeOverlay
is a base image.public static final GlobeOverlayRole NIGHT
GlobeOverlay
is a base image
that is only displayed on the area of the CentralBody
that is not lit by the sun.public static final GlobeOverlayRole SPECULAR
GlobeOverlay
is a base image that shows
the glint of the sun on the CentralBody
.public static final GlobeOverlayRole NORMAL
GlobeOverlay
is a normal overlay without a special role.public static final GlobeOverlayRole NONE
GlobeOverlay
isn't set.public static GlobeOverlayRole[] values()
for (GlobeOverlayRole c : GlobeOverlayRole.values()) System.out.println(c);
public static GlobeOverlayRole 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 GlobeOverlayRole getFromValue(int value)
value
- a numeric value.@Nonnull public static GlobeOverlayRole getDefault()