org.jmol.viewer
Class JmolConstants

java.lang.Object
  extended by org.jmol.viewer.JmolConstants

public final class JmolConstants
extends java.lang.Object


Field Summary
static java.lang.String[] alternateElementNames
           
static byte[] alternateElementNumbers
           
static int[] argbsAmino
           
static int[] argbsChainAtom
          some pastel colors C0D0FF - pastel blue B0FFB0 - pastel green B0FFFF - pastel cyan FFC0C8 - pink FFC0FF - pastel magenta FFFF80 - pastel yellow FFDEAD - navajowhite FFD070 - pastel gold FF9898 - light coral B4E444 - light yellow-green C0C000 - light olive FF8060 - light tomato 00FF7F - springgreen cpk on; select atomno>100; label %i; color chain; select selected & hetero; cpk off
static int[] argbsChainHetero
           
static int[] argbsCpk
          Default table of CPK atom colors.
static int[] argbsCpkRasmol
           
static int[] argbsFormalCharge
           
static int argbShapelyBackbone
           
static int argbShapelyDefault
           
static int argbShapelySpecial
           
static int[] argbsHbondType
           
static int[] argbsIsosurfaceNegative
           
static int[] argbsIsosurfacePositive
           
static int[] argbsRoygbScale
           
static int[] argbsRwbScale
           
static int[] argbsShapely
           
static int[] argbsStructure
          In DRuMS, RasMol, and Chime, quoting from http://www.umass.edu/microbio/rasmol/rascolor.htm The RasMol structure color scheme colors the molecule by protein secondary structure.
static byte ATOMID_ALPHA_CARBON
           
static int ATOMID_ALPHA_ONLY_MASK
           
static byte ATOMID_AMINO_NITROGEN
           
static int ATOMID_BACKBONE_MAX
           
static byte ATOMID_C2
           
static byte ATOMID_C3_PRIME
           
static byte ATOMID_C4
           
static byte ATOMID_C5
           
static byte ATOMID_C5_PRIME
           
static byte ATOMID_C5M
           
static byte ATOMID_C6
           
static byte ATOMID_C8
           
static byte ATOMID_CARBONYL_CARBON
           
static byte ATOMID_CARBONYL_OXYGEN
           
static int ATOMID_DISTINGUISHING_ATOM_MAX
           
static byte ATOMID_H3T_TERMINUS
           
static byte ATOMID_H5T_TERMINUS
           
static int ATOMID_MAX
           
static byte ATOMID_N1
           
static byte ATOMID_N2
           
static byte ATOMID_N3
           
static byte ATOMID_N4
           
static byte ATOMID_N6
           
static byte ATOMID_N7
           
static byte ATOMID_N9
           
static int ATOMID_NUCLEIC_MASK
           
static byte ATOMID_NUCLEIC_PHOSPHORUS
           
static byte ATOMID_NUCLEIC_WING
           
static byte ATOMID_O1
           
static byte ATOMID_O2
           
static byte ATOMID_O3_PRIME
           
static byte ATOMID_O4
           
static byte ATOMID_O5_PRIME
           
static byte ATOMID_O5T_TERMINUS
           
static byte ATOMID_O6
           
static int ATOMID_PHOSPHORUS_ONLY_MASK
           
static int ATOMID_PROTEIN_MASK
           
static byte ATOMID_RNA_O2PRIME
           
static byte ATOMID_S4
           
static byte ATOMID_TERMINATING_OXT
           
static int AXES_DEFAULT_FONTSIZE
           
static short BOND_ALL_MASK
           
static short BOND_AROMATIC
           
static short BOND_AROMATIC_MASK
           
static short BOND_COVALENT_DOUBLE
           
static short BOND_COVALENT_MASK
           
static short BOND_COVALENT_SINGLE
          Extended Bond Definition Types
static short BOND_COVALENT_TRIPLE
           
static short BOND_H_MINUS_3
           
static short BOND_H_MINUS_4
           
static short BOND_H_NUCLEOTIDE
           
static short BOND_H_PLUS_2
           
static short BOND_H_PLUS_3
           
static short BOND_H_PLUS_4
           
static short BOND_H_PLUS_5
           
static short BOND_H_REGULAR
           
static short BOND_HBOND_SHIFT
           
static short BOND_HYDROGEN_MASK
           
static short BOND_PARTIAL01
           
static short BOND_PARTIAL12
           
static short BOND_STEREO_FAR
           
static short BOND_STEREO_MASK
           
static short BOND_STEREO_NEAR
           
static short BOND_SULFUR_MASK
           
static java.lang.String copyright
           
static java.lang.String cvsDate
           
static java.lang.String date
           
static java.lang.String DEFAULT_FONTFACE
           
static java.lang.String DEFAULT_FONTSTYLE
           
static java.lang.String[] elementNames
           
static int elementNumberMax
          one larger than the last elementNumber, same as elementSymbols.length
static java.lang.String[] elementSymbols
          The default elementSymbols.
static short FORMAL_CHARGE_COLIX_BLUE
           
static short FORMAL_CHARGE_COLIX_RED
           
static short FORMAL_CHARGE_COLIX_WHITE
           
static int FORMAL_CHARGE_INDEX_MAX
           
static int FORMAL_CHARGE_INDEX_WHITE
           
static int FORMAL_CHARGE_MAX
           
static int FORMAL_CHARGE_MIN
          ionic radii are looked up using a pair of parallel arrays the ionicLookupTable contains both the elementNumber and the ionization value, represented as follows: (elementNumber << 4) + (ionizationValue + 4) if you don't understand this representation, don't worry about the binary shifting and stuff.
static int FORMAL_CHARGE_RANGE_SIZE
           
static short GROUPID_AMINO_MAX
           
static int GROUPID_GUANINE
           
static int GROUPID_GUANINE_1_LAST
           
static int GROUPID_GUANINE_1_MIN
           
static int GROUPID_GUANINE_2_LAST
           
static int GROUPID_GUANINE_2_MIN
           
static int GROUPID_PLUS_GUANINE
           
static int GROUPID_PROLINE
          PDB file format spec says that the 'residue name' must be right-justified.
static int GROUPID_PURINE_LAST
           
static int GROUPID_PURINE_MIN
           
static int GROUPID_PYRIMIDINE_LAST
           
static int GROUPID_PYRIMIDINE_MIN
           
static short GROUPID_SHAPELY_MAX
           
static short[] ionicLookupTable
           
static short[] ionicMars
           
static int LABEL_DEFAULT_FONTSIZE
           
static int LABEL_DEFAULT_X_OFFSET
           
static int LABEL_DEFAULT_Y_OFFSET
           
static int LABEL_MAXIMUM_FONTSIZE
           
static int LABEL_MINIMUM_FONTSIZE
           
static short madMultipleBondSmallMaximum
           
static short MAR_DELETED
           
static int MAXIMUM_AUTO_BOND_COUNT
           
static int MEASURE_DEFAULT_FONTSIZE
           
static int MOUSE_DELETE
           
static int MOUSE_MEASURE
           
static int MOUSE_PICK
           
static int MOUSE_POPUP_MENU
           
static int MOUSE_ROTATE
           
static int MOUSE_ROTATE_Z
           
static int MOUSE_SLAB_PLANE
           
static int MOUSE_XLATE
           
static int MOUSE_ZOOM
           
static byte MULTIBOND_ALWAYS
           
static byte MULTIBOND_NEVER
           
static byte MULTIBOND_SMALL
           
static byte MULTIBOND_WIREFRAME
           
static boolean officialRelease
           
static short PARTIAL_CHARGE_COLIX_BLUE
           
static short PARTIAL_CHARGE_COLIX_RED
           
static short PARTIAL_CHARGE_COLIX_WHITE
           
static int PARTIAL_CHARGE_RANGE_SIZE
           
static int PICKING_ANGLE
           
static int PICKING_BOND
           
static int PICKING_CENTER
           
static int PICKING_COORD
           
static int PICKING_DISTANCE
           
static int PICKING_IDENT
           
static int PICKING_LABEL
           
static int PICKING_MONITOR
           
static int PICKING_OFF
          picking modes
static int PICKING_SELECT_ATOM
           
static int PICKING_SELECT_CHAIN
           
static int PICKING_SELECT_GROUP
           
static int PICKING_TORSION
           
static java.lang.String[] pickingModeNames
           
static java.lang.String[] predefinedGroup3Names
           
static java.lang.String[] predefinedSets
           
static byte PROTEIN_STRUCTURE_DNA
           
static byte PROTEIN_STRUCTURE_HELIX
           
static byte PROTEIN_STRUCTURE_NONE
          Default table of PdbStructure colors
static byte PROTEIN_STRUCTURE_RNA
           
static byte PROTEIN_STRUCTURE_SHEET
           
static byte PROTEIN_STRUCTURE_TURN
           
static int SHAPE_AXES
           
static int SHAPE_BACKBONE
           
static int SHAPE_BALLS
           
static int SHAPE_BBCAGE
           
static int SHAPE_CARTOON
           
static int SHAPE_DOTS
           
static int SHAPE_ECHO
           
static int SHAPE_FRANK
           
static int SHAPE_HOVER
           
static int SHAPE_HSTICKS
           
static int SHAPE_ISOSURFACE
           
static int SHAPE_LABELS
           
static int SHAPE_MAX
           
static int SHAPE_MEASURES
           
static int SHAPE_MESHRIBBON
           
static int SHAPE_MIN_SELECTION_INDEPENDENT
           
static int SHAPE_PMESH
           
static int SHAPE_POLYHEDRA
           
static int SHAPE_PRUEBA
           
static int SHAPE_RIBBONS
           
static int SHAPE_ROCKETS
           
static int SHAPE_SASURFACE
           
static int SHAPE_SSSTICKS
           
static int SHAPE_STARS
           
static int SHAPE_STICKS
           
static int SHAPE_STRANDS
           
static int SHAPE_TRACE
           
static int SHAPE_UCCAGE
           
static int SHAPE_VECTORS
           
static java.lang.String[] shapeClassBases
           
static java.lang.String[] specialAtomNames
           
static int STEREO_DOUBLE
           
static int STEREO_NONE
           
static int STEREO_REDBLUE
           
static int STEREO_REDCYAN
           
static int STEREO_REDGREEN
           
static short[] vanderwaalsMars
          Default table of van der Waals Radii.
static java.lang.String version
           
 
Constructor Summary
JmolConstants()
           
 
Method Summary
static byte elementNumberFromSymbol(java.lang.String elementSymbol)
           
static short getBondingMar(int elementNumber, int charge)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright
See Also:
Constant Field Values

version

public static final java.lang.String version
See Also:
Constant Field Values

cvsDate

public static final java.lang.String cvsDate
See Also:
Constant Field Values

date

public static final java.lang.String date

officialRelease

public static final boolean officialRelease
See Also:
Constant Field Values

MAR_DELETED

public static final short MAR_DELETED
See Also:
Constant Field Values

MOUSE_ROTATE

public static final int MOUSE_ROTATE
See Also:
Constant Field Values

MOUSE_ZOOM

public static final int MOUSE_ZOOM
See Also:
Constant Field Values

MOUSE_XLATE

public static final int MOUSE_XLATE
See Also:
Constant Field Values

MOUSE_PICK

public static final int MOUSE_PICK
See Also:
Constant Field Values

MOUSE_DELETE

public static final int MOUSE_DELETE
See Also:
Constant Field Values

MOUSE_MEASURE

public static final int MOUSE_MEASURE
See Also:
Constant Field Values

MOUSE_ROTATE_Z

public static final int MOUSE_ROTATE_Z
See Also:
Constant Field Values

MOUSE_SLAB_PLANE

public static final int MOUSE_SLAB_PLANE
See Also:
Constant Field Values

MOUSE_POPUP_MENU

public static final int MOUSE_POPUP_MENU
See Also:
Constant Field Values

MULTIBOND_NEVER

public static final byte MULTIBOND_NEVER
See Also:
Constant Field Values

MULTIBOND_WIREFRAME

public static final byte MULTIBOND_WIREFRAME
See Also:
Constant Field Values

MULTIBOND_SMALL

public static final byte MULTIBOND_SMALL
See Also:
Constant Field Values

MULTIBOND_ALWAYS

public static final byte MULTIBOND_ALWAYS
See Also:
Constant Field Values

madMultipleBondSmallMaximum

public static final short madMultipleBondSmallMaximum
See Also:
Constant Field Values

PICKING_OFF

public static final int PICKING_OFF
picking modes

See Also:
Constant Field Values

PICKING_IDENT

public static final int PICKING_IDENT
See Also:
Constant Field Values

PICKING_DISTANCE

public static final int PICKING_DISTANCE
See Also:
Constant Field Values

PICKING_MONITOR

public static final int PICKING_MONITOR
See Also:
Constant Field Values

PICKING_ANGLE

public static final int PICKING_ANGLE
See Also:
Constant Field Values

PICKING_TORSION

public static final int PICKING_TORSION
See Also:
Constant Field Values

PICKING_LABEL

public static final int PICKING_LABEL
See Also:
Constant Field Values

PICKING_CENTER

public static final int PICKING_CENTER
See Also:
Constant Field Values

PICKING_COORD

public static final int PICKING_COORD
See Also:
Constant Field Values

PICKING_BOND

public static final int PICKING_BOND
See Also:
Constant Field Values

PICKING_SELECT_ATOM

public static final int PICKING_SELECT_ATOM
See Also:
Constant Field Values

PICKING_SELECT_GROUP

public static final int PICKING_SELECT_GROUP
See Also:
Constant Field Values

PICKING_SELECT_CHAIN

public static final int PICKING_SELECT_CHAIN
See Also:
Constant Field Values

pickingModeNames

public static final java.lang.String[] pickingModeNames

BOND_COVALENT_SINGLE

public static final short BOND_COVALENT_SINGLE
Extended Bond Definition Types

See Also:
Constant Field Values

BOND_COVALENT_DOUBLE

public static final short BOND_COVALENT_DOUBLE
See Also:
Constant Field Values

BOND_COVALENT_TRIPLE

public static final short BOND_COVALENT_TRIPLE
See Also:
Constant Field Values

BOND_COVALENT_MASK

public static final short BOND_COVALENT_MASK
See Also:
Constant Field Values

BOND_AROMATIC_MASK

public static final short BOND_AROMATIC_MASK
See Also:
Constant Field Values

BOND_AROMATIC

public static final short BOND_AROMATIC
See Also:
Constant Field Values

BOND_STEREO_MASK

public static final short BOND_STEREO_MASK
See Also:
Constant Field Values

BOND_STEREO_NEAR

public static final short BOND_STEREO_NEAR
See Also:
Constant Field Values

BOND_STEREO_FAR

public static final short BOND_STEREO_FAR
See Also:
Constant Field Values

BOND_SULFUR_MASK

public static final short BOND_SULFUR_MASK
See Also:
Constant Field Values

BOND_HBOND_SHIFT

public static final short BOND_HBOND_SHIFT
See Also:
Constant Field Values

BOND_HYDROGEN_MASK

public static final short BOND_HYDROGEN_MASK
See Also:
Constant Field Values

BOND_H_REGULAR

public static final short BOND_H_REGULAR
See Also:
Constant Field Values

BOND_H_PLUS_2

public static final short BOND_H_PLUS_2
See Also:
Constant Field Values

BOND_H_PLUS_3

public static final short BOND_H_PLUS_3
See Also:
Constant Field Values

BOND_H_PLUS_4

public static final short BOND_H_PLUS_4
See Also:
Constant Field Values

BOND_H_PLUS_5

public static final short BOND_H_PLUS_5
See Also:
Constant Field Values

BOND_H_MINUS_3

public static final short BOND_H_MINUS_3
See Also:
Constant Field Values

BOND_H_MINUS_4

public static final short BOND_H_MINUS_4
See Also:
Constant Field Values

BOND_H_NUCLEOTIDE

public static final short BOND_H_NUCLEOTIDE
See Also:
Constant Field Values

BOND_PARTIAL01

public static final short BOND_PARTIAL01
See Also:
Constant Field Values

BOND_PARTIAL12

public static final short BOND_PARTIAL12
See Also:
Constant Field Values

BOND_ALL_MASK

public static final short BOND_ALL_MASK
See Also:
Constant Field Values

argbsHbondType

public static final int[] argbsHbondType

elementSymbols

public static final java.lang.String[] elementSymbols
The default elementSymbols. Presumably the only entry which may cause confusion is element 0, whose symbol we have defined as "Xx".


elementNumberMax

public static final int elementNumberMax
one larger than the last elementNumber, same as elementSymbols.length


elementNames

public static final java.lang.String[] elementNames

alternateElementNumbers

public static final byte[] alternateElementNumbers

alternateElementNames

public static final java.lang.String[] alternateElementNames

vanderwaalsMars

public static final short[] vanderwaalsMars
Default table of van der Waals Radii. values are stored as MAR -- Milli Angstrom Radius Used for spacefill rendering of atoms. Values taken from OpenBabel.

See Also:
openbabel.sourceforge.net

FORMAL_CHARGE_MIN

public static final int FORMAL_CHARGE_MIN
ionic radii are looked up using a pair of parallel arrays the ionicLookupTable contains both the elementNumber and the ionization value, represented as follows: (elementNumber << 4) + (ionizationValue + 4) if you don't understand this representation, don't worry about the binary shifting and stuff. It is just a sorted list of keys the values are stored in the ionicMars table these two arrays are parallel This data is from Handbook of Chemistry and Physics. 48th Ed, 1967-8, p. F143 (scanned for Jmol by Phillip Barak, Jan 2004)

See Also:
Constant Field Values

FORMAL_CHARGE_MAX

public static final int FORMAL_CHARGE_MAX
See Also:
Constant Field Values

ionicLookupTable

public static final short[] ionicLookupTable

ionicMars

public static final short[] ionicMars

MAXIMUM_AUTO_BOND_COUNT

public static final int MAXIMUM_AUTO_BOND_COUNT
See Also:
Constant Field Values

argbsCpk

public static final int[] argbsCpk
Default table of CPK atom colors. ghemical colors with a few proposed modifications


argbsCpkRasmol

public static final int[] argbsCpkRasmol

PROTEIN_STRUCTURE_NONE

public static final byte PROTEIN_STRUCTURE_NONE
Default table of PdbStructure colors

See Also:
Constant Field Values

PROTEIN_STRUCTURE_TURN

public static final byte PROTEIN_STRUCTURE_TURN
See Also:
Constant Field Values

PROTEIN_STRUCTURE_SHEET

public static final byte PROTEIN_STRUCTURE_SHEET
See Also:
Constant Field Values

PROTEIN_STRUCTURE_HELIX

public static final byte PROTEIN_STRUCTURE_HELIX
See Also:
Constant Field Values

PROTEIN_STRUCTURE_DNA

public static final byte PROTEIN_STRUCTURE_DNA
See Also:
Constant Field Values

PROTEIN_STRUCTURE_RNA

public static final byte PROTEIN_STRUCTURE_RNA
See Also:
Constant Field Values

argbsStructure

public static final int[] argbsStructure
In DRuMS, RasMol, and Chime, quoting from http://www.umass.edu/microbio/rasmol/rascolor.htm The RasMol structure color scheme colors the molecule by protein secondary structure. Structure Decimal RGB Hex RGB Alpha helices red-magenta [255,0,128] FF 00 80 * Beta strands yellow [255,200,0] FF C8 00 * Turns pale blue [96,128,255] 60 80 FF Other white [255,255,255] FF FF FF Values given in the 1994 RasMol 2.5 Quick Reference Card ([240,0,128] and [255,255,0]) are not correct for RasMol 2.6-beta-2a. This correction was made above on Dec 5, 1998.


argbsAmino

public static final int[] argbsAmino

argbShapelyBackbone

public static final int argbShapelyBackbone
See Also:
Constant Field Values

argbShapelySpecial

public static final int argbShapelySpecial
See Also:
Constant Field Values

argbShapelyDefault

public static final int argbShapelyDefault
See Also:
Constant Field Values

argbsShapely

public static final int[] argbsShapely

argbsChainAtom

public static final int[] argbsChainAtom
some pastel colors C0D0FF - pastel blue B0FFB0 - pastel green B0FFFF - pastel cyan FFC0C8 - pink FFC0FF - pastel magenta FFFF80 - pastel yellow FFDEAD - navajowhite FFD070 - pastel gold FF9898 - light coral B4E444 - light yellow-green C0C000 - light olive FF8060 - light tomato 00FF7F - springgreen cpk on; select atomno>100; label %i; color chain; select selected & hetero; cpk off


argbsChainHetero

public static final int[] argbsChainHetero

FORMAL_CHARGE_COLIX_RED

public static final short FORMAL_CHARGE_COLIX_RED

FORMAL_CHARGE_COLIX_WHITE

public static final short FORMAL_CHARGE_COLIX_WHITE

FORMAL_CHARGE_COLIX_BLUE

public static final short FORMAL_CHARGE_COLIX_BLUE

FORMAL_CHARGE_RANGE_SIZE

public static final int FORMAL_CHARGE_RANGE_SIZE
See Also:
Constant Field Values

argbsFormalCharge

public static final int[] argbsFormalCharge

FORMAL_CHARGE_INDEX_WHITE

public static final int FORMAL_CHARGE_INDEX_WHITE
See Also:
Constant Field Values

FORMAL_CHARGE_INDEX_MAX

public static final int FORMAL_CHARGE_INDEX_MAX

PARTIAL_CHARGE_COLIX_RED

public static final short PARTIAL_CHARGE_COLIX_RED

PARTIAL_CHARGE_COLIX_WHITE

public static final short PARTIAL_CHARGE_COLIX_WHITE

PARTIAL_CHARGE_COLIX_BLUE

public static final short PARTIAL_CHARGE_COLIX_BLUE

PARTIAL_CHARGE_RANGE_SIZE

public static final int PARTIAL_CHARGE_RANGE_SIZE
See Also:
Constant Field Values

argbsRwbScale

public static final int[] argbsRwbScale

argbsRoygbScale

public static final int[] argbsRoygbScale

argbsIsosurfacePositive

public static final int[] argbsIsosurfacePositive

argbsIsosurfaceNegative

public static final int[] argbsIsosurfaceNegative

specialAtomNames

public static final java.lang.String[] specialAtomNames

ATOMID_MAX

public static final int ATOMID_MAX

ATOMID_AMINO_NITROGEN

public static final byte ATOMID_AMINO_NITROGEN
See Also:
Constant Field Values

ATOMID_ALPHA_CARBON

public static final byte ATOMID_ALPHA_CARBON
See Also:
Constant Field Values

ATOMID_CARBONYL_CARBON

public static final byte ATOMID_CARBONYL_CARBON
See Also:
Constant Field Values

ATOMID_O5_PRIME

public static final byte ATOMID_O5_PRIME
See Also:
Constant Field Values

ATOMID_C5_PRIME

public static final byte ATOMID_C5_PRIME
See Also:
Constant Field Values

ATOMID_C3_PRIME

public static final byte ATOMID_C3_PRIME
See Also:
Constant Field Values

ATOMID_O3_PRIME

public static final byte ATOMID_O3_PRIME
See Also:
Constant Field Values

ATOMID_NUCLEIC_PHOSPHORUS

public static final byte ATOMID_NUCLEIC_PHOSPHORUS
See Also:
Constant Field Values

ATOMID_TERMINATING_OXT

public static final byte ATOMID_TERMINATING_OXT
See Also:
Constant Field Values

ATOMID_CARBONYL_OXYGEN

public static final byte ATOMID_CARBONYL_OXYGEN
See Also:
Constant Field Values

ATOMID_O1

public static final byte ATOMID_O1
See Also:
Constant Field Values

ATOMID_H5T_TERMINUS

public static final byte ATOMID_H5T_TERMINUS
See Also:
Constant Field Values

ATOMID_O5T_TERMINUS

public static final byte ATOMID_O5T_TERMINUS
See Also:
Constant Field Values

ATOMID_RNA_O2PRIME

public static final byte ATOMID_RNA_O2PRIME
See Also:
Constant Field Values

ATOMID_H3T_TERMINUS

public static final byte ATOMID_H3T_TERMINUS
See Also:
Constant Field Values

ATOMID_N1

public static final byte ATOMID_N1
See Also:
Constant Field Values

ATOMID_C2

public static final byte ATOMID_C2
See Also:
Constant Field Values

ATOMID_N3

public static final byte ATOMID_N3
See Also:
Constant Field Values

ATOMID_C4

public static final byte ATOMID_C4
See Also:
Constant Field Values

ATOMID_C5

public static final byte ATOMID_C5
See Also:
Constant Field Values

ATOMID_C6

public static final byte ATOMID_C6
See Also:
Constant Field Values

ATOMID_O2

public static final byte ATOMID_O2
See Also:
Constant Field Values

ATOMID_N7

public static final byte ATOMID_N7
See Also:
Constant Field Values

ATOMID_C8

public static final byte ATOMID_C8
See Also:
Constant Field Values

ATOMID_N9

public static final byte ATOMID_N9
See Also:
Constant Field Values

ATOMID_N4

public static final byte ATOMID_N4
See Also:
Constant Field Values

ATOMID_N2

public static final byte ATOMID_N2
See Also:
Constant Field Values

ATOMID_N6

public static final byte ATOMID_N6
See Also:
Constant Field Values

ATOMID_C5M

public static final byte ATOMID_C5M
See Also:
Constant Field Values

ATOMID_O6

public static final byte ATOMID_O6
See Also:
Constant Field Values

ATOMID_O4

public static final byte ATOMID_O4
See Also:
Constant Field Values

ATOMID_S4

public static final byte ATOMID_S4
See Also:
Constant Field Values

ATOMID_NUCLEIC_WING

public static final byte ATOMID_NUCLEIC_WING
See Also:
Constant Field Values

ATOMID_PROTEIN_MASK

public static final int ATOMID_PROTEIN_MASK
See Also:
Constant Field Values

ATOMID_ALPHA_ONLY_MASK

public static final int ATOMID_ALPHA_ONLY_MASK
See Also:
Constant Field Values

ATOMID_NUCLEIC_MASK

public static final int ATOMID_NUCLEIC_MASK
See Also:
Constant Field Values

ATOMID_PHOSPHORUS_ONLY_MASK

public static final int ATOMID_PHOSPHORUS_ONLY_MASK
See Also:
Constant Field Values

ATOMID_DISTINGUISHING_ATOM_MAX

public static final int ATOMID_DISTINGUISHING_ATOM_MAX
See Also:
Constant Field Values

ATOMID_BACKBONE_MAX

public static final int ATOMID_BACKBONE_MAX
See Also:
Constant Field Values

GROUPID_PROLINE

public static final int GROUPID_PROLINE
PDB file format spec says that the 'residue name' must be right-justified. However, Eric Martz says that some files are not. Therefore, we will be 'flexible' in reading the group name ... we will trim() when read in the field. So a 'group3' can now be less than 3 characters long.

See Also:
Constant Field Values

GROUPID_PURINE_MIN

public static final int GROUPID_PURINE_MIN
See Also:
Constant Field Values

GROUPID_PURINE_LAST

public static final int GROUPID_PURINE_LAST
See Also:
Constant Field Values

GROUPID_PYRIMIDINE_MIN

public static final int GROUPID_PYRIMIDINE_MIN
See Also:
Constant Field Values

GROUPID_PYRIMIDINE_LAST

public static final int GROUPID_PYRIMIDINE_LAST
See Also:
Constant Field Values

GROUPID_GUANINE

public static final int GROUPID_GUANINE
See Also:
Constant Field Values

GROUPID_PLUS_GUANINE

public static final int GROUPID_PLUS_GUANINE
See Also:
Constant Field Values

GROUPID_GUANINE_1_MIN

public static final int GROUPID_GUANINE_1_MIN
See Also:
Constant Field Values

GROUPID_GUANINE_1_LAST

public static final int GROUPID_GUANINE_1_LAST
See Also:
Constant Field Values

GROUPID_GUANINE_2_MIN

public static final int GROUPID_GUANINE_2_MIN
See Also:
Constant Field Values

GROUPID_GUANINE_2_LAST

public static final int GROUPID_GUANINE_2_LAST
See Also:
Constant Field Values

GROUPID_AMINO_MAX

public static final short GROUPID_AMINO_MAX
See Also:
Constant Field Values

GROUPID_SHAPELY_MAX

public static final short GROUPID_SHAPELY_MAX
See Also:
Constant Field Values

predefinedGroup3Names

public static final java.lang.String[] predefinedGroup3Names

predefinedSets

public static java.lang.String[] predefinedSets

DEFAULT_FONTFACE

public static final java.lang.String DEFAULT_FONTFACE
See Also:
Constant Field Values

DEFAULT_FONTSTYLE

public static final java.lang.String DEFAULT_FONTSTYLE
See Also:
Constant Field Values

LABEL_MINIMUM_FONTSIZE

public static final int LABEL_MINIMUM_FONTSIZE
See Also:
Constant Field Values

LABEL_MAXIMUM_FONTSIZE

public static final int LABEL_MAXIMUM_FONTSIZE
See Also:
Constant Field Values

LABEL_DEFAULT_FONTSIZE

public static final int LABEL_DEFAULT_FONTSIZE
See Also:
Constant Field Values

LABEL_DEFAULT_X_OFFSET

public static final int LABEL_DEFAULT_X_OFFSET
See Also:
Constant Field Values

LABEL_DEFAULT_Y_OFFSET

public static final int LABEL_DEFAULT_Y_OFFSET
See Also:
Constant Field Values

MEASURE_DEFAULT_FONTSIZE

public static final int MEASURE_DEFAULT_FONTSIZE
See Also:
Constant Field Values

AXES_DEFAULT_FONTSIZE

public static final int AXES_DEFAULT_FONTSIZE
See Also:
Constant Field Values

SHAPE_BALLS

public static final int SHAPE_BALLS
See Also:
Constant Field Values

SHAPE_STICKS

public static final int SHAPE_STICKS
See Also:
Constant Field Values

SHAPE_HSTICKS

public static final int SHAPE_HSTICKS
See Also:
Constant Field Values

SHAPE_SSSTICKS

public static final int SHAPE_SSSTICKS
See Also:
Constant Field Values

SHAPE_LABELS

public static final int SHAPE_LABELS
See Also:
Constant Field Values

SHAPE_VECTORS

public static final int SHAPE_VECTORS
See Also:
Constant Field Values

SHAPE_MEASURES

public static final int SHAPE_MEASURES
See Also:
Constant Field Values

SHAPE_DOTS

public static final int SHAPE_DOTS
See Also:
Constant Field Values

SHAPE_BACKBONE

public static final int SHAPE_BACKBONE
See Also:
Constant Field Values

SHAPE_TRACE

public static final int SHAPE_TRACE
See Also:
Constant Field Values

SHAPE_CARTOON

public static final int SHAPE_CARTOON
See Also:
Constant Field Values

SHAPE_STRANDS

public static final int SHAPE_STRANDS
See Also:
Constant Field Values

SHAPE_MESHRIBBON

public static final int SHAPE_MESHRIBBON
See Also:
Constant Field Values

SHAPE_RIBBONS

public static final int SHAPE_RIBBONS
See Also:
Constant Field Values

SHAPE_ROCKETS

public static final int SHAPE_ROCKETS
See Also:
Constant Field Values

SHAPE_STARS

public static final int SHAPE_STARS
See Also:
Constant Field Values

SHAPE_MIN_SELECTION_INDEPENDENT

public static final int SHAPE_MIN_SELECTION_INDEPENDENT
See Also:
Constant Field Values

SHAPE_AXES

public static final int SHAPE_AXES
See Also:
Constant Field Values

SHAPE_BBCAGE

public static final int SHAPE_BBCAGE
See Also:
Constant Field Values

SHAPE_UCCAGE

public static final int SHAPE_UCCAGE
See Also:
Constant Field Values

SHAPE_FRANK

public static final int SHAPE_FRANK
See Also:
Constant Field Values

SHAPE_ECHO

public static final int SHAPE_ECHO
See Also:
Constant Field Values

SHAPE_HOVER

public static final int SHAPE_HOVER
See Also:
Constant Field Values

SHAPE_PMESH

public static final int SHAPE_PMESH
See Also:
Constant Field Values

SHAPE_POLYHEDRA

public static final int SHAPE_POLYHEDRA
See Also:
Constant Field Values

SHAPE_SASURFACE

public static final int SHAPE_SASURFACE
See Also:
Constant Field Values

SHAPE_ISOSURFACE

public static final int SHAPE_ISOSURFACE
See Also:
Constant Field Values

SHAPE_PRUEBA

public static final int SHAPE_PRUEBA
See Also:
Constant Field Values

SHAPE_MAX

public static final int SHAPE_MAX
See Also:
Constant Field Values

shapeClassBases

public static final java.lang.String[] shapeClassBases

STEREO_NONE

public static final int STEREO_NONE
See Also:
Constant Field Values

STEREO_DOUBLE

public static final int STEREO_DOUBLE
See Also:
Constant Field Values

STEREO_REDCYAN

public static final int STEREO_REDCYAN
See Also:
Constant Field Values

STEREO_REDBLUE

public static final int STEREO_REDBLUE
See Also:
Constant Field Values

STEREO_REDGREEN

public static final int STEREO_REDGREEN
See Also:
Constant Field Values
Constructor Detail

JmolConstants

public JmolConstants()
Method Detail

elementNumberFromSymbol

public static byte elementNumberFromSymbol(java.lang.String elementSymbol)
Parameters:
elementSymbol - First char must be upper case, second char accepts upper or lower case
Returns:
elementNumber

getBondingMar

public static short getBondingMar(int elementNumber,
                                  int charge)