Package org.jmol.c
Enum PAL
- All Implemented Interfaces:
Serializable
,Comparable<PAL>
,java.lang.constant.Constable
Enum for animation mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[]
Default table of CPK atom colors.static final int[]
byte
private String
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PAL
getPalette
(String paletteName) static final byte
getPaletteID
(String paletteName) static final String
getPaletteName
(byte pid) static boolean
isPaletteVariable
(byte pid) static byte
static PAL
Returns the enum constant of this type with the specified name.static PAL[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
NONE
-
CPK
-
PARTIAL_CHARGE
-
FORMAL_CHARGE
-
TEMP
-
FIXEDTEMP
-
SURFACE
-
STRUCTURE
-
AMINO
-
SHAPELY
-
CHAIN
-
GROUP
-
MONOMER
-
MOLECULE
-
ALTLOC
-
INSERTION
-
JMOL
-
RASMOL
-
TYPE
-
ENERGY
-
PROPERTY
-
VARIABLE
-
STRAIGHTNESS
-
POLYMER
-
NUCLEIC
-
-
Field Details
-
name
-
id
public byte id -
PALETTE_VOLATILE
public static final byte PALETTE_VOLATILE- See Also:
-
PALETTE_NONE
public static final byte PALETTE_NONE- See Also:
-
PALETTE_CPK
public static final byte PALETTE_CPK- See Also:
-
PALETTE_PARTIAL_CHARGE
public static final byte PALETTE_PARTIAL_CHARGE- See Also:
-
PALETTE_FORMAL_CHARGE
public static final byte PALETTE_FORMAL_CHARGE- See Also:
-
PALETTE_TEMP
public static final byte PALETTE_TEMP- See Also:
-
PALETTE_FIXEDTEMP
public static final byte PALETTE_FIXEDTEMP- See Also:
-
PALETTE_SURFACE
public static final byte PALETTE_SURFACE- See Also:
-
PALETTE_STRUCTURE
public static final byte PALETTE_STRUCTURE- See Also:
-
PALETTE_AMINO
public static final byte PALETTE_AMINO- See Also:
-
PALETTE_SHAPELY
public static final byte PALETTE_SHAPELY- See Also:
-
PALETTE_CHAIN
public static final byte PALETTE_CHAIN- See Also:
-
PALETTE_GROUP
public static final byte PALETTE_GROUP- See Also:
-
PALETTE_MONOMER
public static final byte PALETTE_MONOMER- See Also:
-
PALETTE_MOLECULE
public static final byte PALETTE_MOLECULE- See Also:
-
PALETTE_ALTLOC
public static final byte PALETTE_ALTLOC- See Also:
-
PALETTE_INSERTION
public static final byte PALETTE_INSERTION- See Also:
-
PALETTE_JMOL
public static final byte PALETTE_JMOL- See Also:
-
PALETTE_RASMOL
public static final byte PALETTE_RASMOL- See Also:
-
PALETTE_TYPE
public static final byte PALETTE_TYPE- See Also:
-
PALETTE_ENERGY
public static final byte PALETTE_ENERGY- See Also:
-
PALETTE_PROPERTY
public static final byte PALETTE_PROPERTY- See Also:
-
PALETTE_VARIABLE
public static final byte PALETTE_VARIABLE- See Also:
-
PALETTE_STRAIGHTNESS
public static final byte PALETTE_STRAIGHTNESS- See Also:
-
PALETTE_POLYMER
public static final byte PALETTE_POLYMER- See Also:
-
PALETTE_NUCLEIC
public static final byte PALETTE_NUCLEIC- See Also:
-
argbsCpkRasmol
public static final int[] argbsCpkRasmol -
argbsCpk
public static final int[] argbsCpkDefault table of CPK atom colors. ghemical colors with a few modifications
-
-
Constructor Details
-
PAL
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
pidOf
-
isPaletteVariable
public static boolean isPaletteVariable(byte pid) -
getPalette
-
getPaletteID
-
getPaletteName
-