Package gaiasky.render
Enum ComponentTypes.ComponentType
- java.lang.Object
-
- java.lang.Enum<ComponentTypes.ComponentType>
-
- gaiasky.render.ComponentTypes.ComponentType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ComponentTypes.ComponentType>
- Enclosing class:
- ComponentTypes
public static enum ComponentTypes.ComponentType extends java.lang.Enum<ComponentTypes.ComponentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Asteroids
Atmospheres
Axes
Boundaries
Clouds
Clusters
Constellations
Countries
Ecliptic
Effects
Equatorial
Galactic
Galaxies
Invisible
Labels
Locations
Meshes
MilkyWay
Moons
Nebulae
Orbits
Others
Planets
Ruler
Satellites
Stars
Titles
VelocityVectors
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentTypes.ComponentType
getFromKey(java.lang.String key)
java.lang.String
getName()
java.lang.String
toString()
static ComponentTypes.ComponentType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ComponentTypes.ComponentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Stars
public static final ComponentTypes.ComponentType Stars
-
Planets
public static final ComponentTypes.ComponentType Planets
-
Moons
public static final ComponentTypes.ComponentType Moons
-
Satellites
public static final ComponentTypes.ComponentType Satellites
-
Asteroids
public static final ComponentTypes.ComponentType Asteroids
-
Clusters
public static final ComponentTypes.ComponentType Clusters
-
MilkyWay
public static final ComponentTypes.ComponentType MilkyWay
-
Galaxies
public static final ComponentTypes.ComponentType Galaxies
-
Nebulae
public static final ComponentTypes.ComponentType Nebulae
-
Meshes
public static final ComponentTypes.ComponentType Meshes
-
Equatorial
public static final ComponentTypes.ComponentType Equatorial
-
Ecliptic
public static final ComponentTypes.ComponentType Ecliptic
-
Galactic
public static final ComponentTypes.ComponentType Galactic
-
Labels
public static final ComponentTypes.ComponentType Labels
-
Titles
public static final ComponentTypes.ComponentType Titles
-
Orbits
public static final ComponentTypes.ComponentType Orbits
-
Locations
public static final ComponentTypes.ComponentType Locations
-
Countries
public static final ComponentTypes.ComponentType Countries
-
Constellations
public static final ComponentTypes.ComponentType Constellations
-
Boundaries
public static final ComponentTypes.ComponentType Boundaries
-
Ruler
public static final ComponentTypes.ComponentType Ruler
-
Effects
public static final ComponentTypes.ComponentType Effects
-
Atmospheres
public static final ComponentTypes.ComponentType Atmospheres
-
Clouds
public static final ComponentTypes.ComponentType Clouds
-
Axes
public static final ComponentTypes.ComponentType Axes
-
VelocityVectors
public static final ComponentTypes.ComponentType VelocityVectors
-
Others
public static final ComponentTypes.ComponentType Others
-
Invisible
public static final ComponentTypes.ComponentType Invisible
-
-
Method Detail
-
values
public static ComponentTypes.ComponentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ComponentTypes.ComponentType c : ComponentTypes.ComponentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComponentTypes.ComponentType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ComponentTypes.ComponentType>
-
getFromKey
public static ComponentTypes.ComponentType getFromKey(java.lang.String key)
-
-