fr.orsay.lri.varna.models.rna
Enum ModeleColorMap.NamedColorMapTypes

java.lang.Object
  extended by java.lang.Enum<ModeleColorMap.NamedColorMapTypes>
      extended by fr.orsay.lri.varna.models.rna.ModeleColorMap.NamedColorMapTypes
All Implemented Interfaces:
Serializable, Comparable<ModeleColorMap.NamedColorMapTypes>
Enclosing class:
ModeleColorMap

public static enum ModeleColorMap.NamedColorMapTypes
extends Enum<ModeleColorMap.NamedColorMapTypes>


Enum Constant Summary
BLUE
           
BW
           
ENERGY
           
GREEN
           
HEAT
           
RED
           
ROCKNROLL
           
 
Field Summary
(package private)  ModeleColorMap _cm
           
(package private)  String _id
           
 
Method Summary
 ModeleColorMap getColorMap()
           
 String getId()
           
 String toString()
           
static ModeleColorMap.NamedColorMapTypes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ModeleColorMap.NamedColorMapTypes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RED

public static final ModeleColorMap.NamedColorMapTypes RED

BLUE

public static final ModeleColorMap.NamedColorMapTypes BLUE

GREEN

public static final ModeleColorMap.NamedColorMapTypes GREEN

HEAT

public static final ModeleColorMap.NamedColorMapTypes HEAT

ENERGY

public static final ModeleColorMap.NamedColorMapTypes ENERGY

ROCKNROLL

public static final ModeleColorMap.NamedColorMapTypes ROCKNROLL

BW

public static final ModeleColorMap.NamedColorMapTypes BW
Field Detail

_id

String _id

_cm

ModeleColorMap _cm
Method Detail

values

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

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

valueOf

public static ModeleColorMap.NamedColorMapTypes valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getId

public String getId()

getColorMap

public ModeleColorMap getColorMap()

toString

public String toString()
Overrides:
toString in class Enum<ModeleColorMap.NamedColorMapTypes>