fr.orsay.lri.varna.models.rna
Enum ModeleColorMap.NamedColorMapTypes
java.lang.Object
java.lang.Enum<ModeleColorMap.NamedColorMapTypes>
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>
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
_id
String _id
_cm
ModeleColorMap _cm
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>