Package org.jmol.c

Enum PAL

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PAL>

    public enum PAL
    extends java.lang.Enum<PAL>
    Enum for animation mode.
    • Enum Constant Detail

      • UNKNOWN

        public static final PAL UNKNOWN
      • NONE

        public static final PAL NONE
      • CPK

        public static final PAL CPK
      • PARTIAL_CHARGE

        public static final PAL PARTIAL_CHARGE
      • FORMAL_CHARGE

        public static final PAL FORMAL_CHARGE
      • TEMP

        public static final PAL TEMP
      • FIXEDTEMP

        public static final PAL FIXEDTEMP
      • SURFACE

        public static final PAL SURFACE
      • STRUCTURE

        public static final PAL STRUCTURE
      • AMINO

        public static final PAL AMINO
      • SHAPELY

        public static final PAL SHAPELY
      • CHAIN

        public static final PAL CHAIN
      • GROUP

        public static final PAL GROUP
      • MONOMER

        public static final PAL MONOMER
      • MOLECULE

        public static final PAL MOLECULE
      • ALTLOC

        public static final PAL ALTLOC
      • INSERTION

        public static final PAL INSERTION
      • JMOL

        public static final PAL JMOL
      • RASMOL

        public static final PAL RASMOL
      • TYPE

        public static final PAL TYPE
      • ENERGY

        public static final PAL ENERGY
      • PROPERTY

        public static final PAL PROPERTY
      • VARIABLE

        public static final PAL VARIABLE
      • STRAIGHTNESS

        public static final PAL STRAIGHTNESS
      • POLYMER

        public static final PAL POLYMER
      • NUCLEIC

        public static final PAL NUCLEIC
    • Constructor Detail

      • PAL

        private PAL​(java.lang.String name,
                    int id)
    • Method Detail

      • values

        public static PAL[] 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 (PAL c : PAL.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PAL 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 PAL 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)