org.stellarium.astro
Enum Nebula.NebulaType

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

public static enum Nebula.NebulaType
extends java.lang.Enum<Nebula.NebulaType>


Enum Constant Summary
NEB_CN
           
NEB_DN
           
NEB_GC
           
NEB_GX
           
NEB_IG
           
NEB_N
           
NEB_OC
           
NEB_PN
           
NEB_UNKNOWN
           
 
Field Summary
(package private)  java.lang.String description
           
(package private)  java.lang.String shortDesc
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getShortDesc()
           
static Nebula.NebulaType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Nebula.NebulaType[] 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

NEB_GX

public static final Nebula.NebulaType NEB_GX

NEB_OC

public static final Nebula.NebulaType NEB_OC

NEB_GC

public static final Nebula.NebulaType NEB_GC

NEB_N

public static final Nebula.NebulaType NEB_N

NEB_PN

public static final Nebula.NebulaType NEB_PN

NEB_DN

public static final Nebula.NebulaType NEB_DN

NEB_IG

public static final Nebula.NebulaType NEB_IG

NEB_CN

public static final Nebula.NebulaType NEB_CN

NEB_UNKNOWN

public static final Nebula.NebulaType NEB_UNKNOWN
Field Detail

shortDesc

java.lang.String shortDesc

description

java.lang.String description
Method Detail

values

public static final Nebula.NebulaType[] 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(Nebula.NebulaType c : Nebula.NebulaType.values())
        System.out.println(c);

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

valueOf

public static Nebula.NebulaType 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

getDescription

public java.lang.String getDescription()

getShortDesc

public java.lang.String getShortDesc()