org.stellarium.astro
Enum HipStar.SpectralType

java.lang.Object
  extended by java.lang.Enum<HipStar.SpectralType>
      extended by org.stellarium.astro.HipStar.SpectralType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HipStar.SpectralType>
Enclosing class:
HipStar

public static enum HipStar.SpectralType
extends java.lang.Enum<HipStar.SpectralType>


Enum Constant Summary
A
           
B
           
Default
           
F
           
G
           
K
           
M
           
N
           
O
           
R
           
S
           
W
           
X
           
 
Field Summary
private  SColor color
           
 
Method Summary
 SColor getColor()
           
static HipStar.SpectralType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HipStar.SpectralType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

O

public static final HipStar.SpectralType O

B

public static final HipStar.SpectralType B

A

public static final HipStar.SpectralType A

F

public static final HipStar.SpectralType F

G

public static final HipStar.SpectralType G

K

public static final HipStar.SpectralType K

M

public static final HipStar.SpectralType M

R

public static final HipStar.SpectralType R

S

public static final HipStar.SpectralType S

N

public static final HipStar.SpectralType N

W

public static final HipStar.SpectralType W

X

public static final HipStar.SpectralType X

Default

public static final HipStar.SpectralType Default
Field Detail

color

private final SColor color
Method Detail

values

public static final HipStar.SpectralType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(HipStar.SpectralType c : HipStar.SpectralType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static HipStar.SpectralType 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 name

getColor

public SColor getColor()