org.jmol.constant
Enum EnumPalette
java.lang.Object
java.lang.Enum<EnumPalette>
org.jmol.constant.EnumPalette
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EnumPalette>
public enum EnumPalette
- extends java.lang.Enum<EnumPalette>
Enum for animation mode.
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UNKNOWN
public static final EnumPalette UNKNOWN
NONE
public static final EnumPalette NONE
CPK
public static final EnumPalette CPK
PARTIAL_CHARGE
public static final EnumPalette PARTIAL_CHARGE
FORMAL_CHARGE
public static final EnumPalette FORMAL_CHARGE
TEMP
public static final EnumPalette TEMP
FIXEDTEMP
public static final EnumPalette FIXEDTEMP
SURFACE
public static final EnumPalette SURFACE
STRUCTURE
public static final EnumPalette STRUCTURE
AMINO
public static final EnumPalette AMINO
SHAPELY
public static final EnumPalette SHAPELY
CHAIN
public static final EnumPalette CHAIN
GROUP
public static final EnumPalette GROUP
MONOMER
public static final EnumPalette MONOMER
MOLECULE
public static final EnumPalette MOLECULE
ALTLOC
public static final EnumPalette ALTLOC
INSERTION
public static final EnumPalette INSERTION
JMOL
public static final EnumPalette JMOL
RASMOL
public static final EnumPalette RASMOL
TYPE
public static final EnumPalette TYPE
ENERGY
public static final EnumPalette ENERGY
PROPERTY
public static final EnumPalette PROPERTY
VARIABLE
public static final EnumPalette VARIABLE
STRAIGHTNESS
public static final EnumPalette STRAIGHTNESS
POLYMER
public static final EnumPalette POLYMER
name
private java.lang.String name
id
public byte id
argbsCpkRasmol
public static final int[] argbsCpkRasmol
argbsCpk
public static final int[] argbsCpk
- Default table of CPK atom colors. ghemical colors with a few
modifications
values
public static EnumPalette[] 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 (EnumPalette c : EnumPalette.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EnumPalette 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
java.lang.NullPointerException
- if the argument is null
pidOf
public static byte pidOf(java.lang.Object value)
isPaletteVariable
public static boolean isPaletteVariable(byte pid)
getPalette
public static EnumPalette getPalette(java.lang.String paletteName)
getPaletteID
public static final byte getPaletteID(java.lang.String paletteName)
getPaletteName
public static final java.lang.String getPaletteName(byte pid)