astex
Class PeriodicTable

java.lang.Object
  extended by astex.PeriodicTable

public class PeriodicTable
extends java.lang.Object


Field Summary
static int ACTINIUM
           
static int ALUMINUM
           
static int AMERICIUM
           
static int ANTIMONY
           
static int ARGON
           
static int ARSENIC
           
static int ASTATINE
           
static java.lang.String[] attachmentLabels
          Symbols used for displaying attachment points.
static int BARIUM
           
static int BERKELIUM
           
static int BERYLLIUM
           
static int BISMUTH
           
static int BORON
           
static int BROMINE
           
static int CADMIUM
           
static int CALCIUM
           
static int CALIFORNIUM
           
static int CARBON
           
static int CERIUM
           
static int CESIUM
           
static int CHLORINE
           
static int CHROMIUM
           
static int COBALT
           
static int COPPER
           
static int CURIUM
           
static int DYSPROSIUM
           
static int EINSTEINIUM
           
static AtomicElement[] elements
           
static int ERBIUM
           
static int EUROPIUM
           
static int FERMIUM
           
static int FLUORINE
           
static int FRANCIUM
           
static int GADOLINIUM
           
static int GALLIUM
           
static int GERMANIUM
           
static int GOLD
           
static int HAFNIUM
           
static int HELIUM
           
static int HOLMIUM
           
static int HYDROGEN
           
static int INDIUM
           
static int IODINE
           
static int IRIDIUM
           
static int IRON
           
static int KRYPTON
           
static int LANTHANUM
           
static int LAWRENCIUM
           
static int LEAD
           
static int LITHIUM
           
static int LUTETIUM
           
static int MAGNESIUM
           
static int MANGANESE
           
static int MENDELEVIUM
           
static int MERCURY
           
static int MOLYBDENUM
           
static int NEODYMIUM
           
static int NEON
           
static int NEPTUNIUM
           
static int NICKEL
           
static int NIOBIUM
           
static int NITROGEN
           
static int NOBELIUM
           
static int OSMIUM
           
static int OXYGEN
           
static int PALLADIUM
           
static int PHOSPHORUS
           
static int PLATINUM
           
static int PLUTONIUM
           
static int POLONIUM
           
static int POTASSIUM
           
static int PRASEODYMIUM
           
static int PROMETHIUM
           
static int PROTACTINIUM
           
static java.lang.String[] radicalSymbols
          Symbols used for displaying radical states of atoms.
static int RADIUM
           
static int RADON
           
static int RHENIUM
           
static int RHODIUM
           
static int RUBIDIUM
           
static int RUTHENIUM
           
static int SAMARIUM
           
static int SCANDIUM
           
static int SELENIUM
           
static int SILICON
           
static int SILVER
           
static int SODIUM
           
static int STRONTIUM
           
static int SULPHUR
           
static int TANTALUM
           
static int TECHNETIUM
           
static int TELLURIUM
           
static int TERBIUM
           
static int THALLIUM
           
static int THORIUM
           
static int THULIUM
           
static int TIN
           
static int TITANIUM
           
static int UNKNOWN
           
static int UNP
           
static int UNQ
           
static int URANIUM
           
static java.lang.String[] valenceSymbols
          Symbols used for displaying valence states of atoms.
static int VANADIUM
           
static int WOLFRAM
           
static int XENON
           
static int YTTERBIUM
           
static int YTTRIUM
           
static int ZINC
           
static int ZIRCONIUM
           
 
Constructor Summary
PeriodicTable()
           
 
Method Summary
static java.lang.String getAtomSymbolFromElement(int num)
          returns the symbol for the specified atom type
static int getElement(char c0, char c1)
          Decode element string to atomic number.
static int getElementFromSymbol(char e0, char e1)
          Get element from characters from pdb file.
static int getElementFromSymbol(java.lang.String symbol)
          Find the atomic number (atom type) given a symbol.
static java.lang.String getSymbol(int el)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elements

public static final AtomicElement[] elements

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

HYDROGEN

public static final int HYDROGEN
See Also:
Constant Field Values

HELIUM

public static final int HELIUM
See Also:
Constant Field Values

LITHIUM

public static final int LITHIUM
See Also:
Constant Field Values

BERYLLIUM

public static final int BERYLLIUM
See Also:
Constant Field Values

BORON

public static final int BORON
See Also:
Constant Field Values

CARBON

public static final int CARBON
See Also:
Constant Field Values

NITROGEN

public static final int NITROGEN
See Also:
Constant Field Values

OXYGEN

public static final int OXYGEN
See Also:
Constant Field Values

FLUORINE

public static final int FLUORINE
See Also:
Constant Field Values

NEON

public static final int NEON
See Also:
Constant Field Values

SODIUM

public static final int SODIUM
See Also:
Constant Field Values

MAGNESIUM

public static final int MAGNESIUM
See Also:
Constant Field Values

ALUMINUM

public static final int ALUMINUM
See Also:
Constant Field Values

SILICON

public static final int SILICON
See Also:
Constant Field Values

PHOSPHORUS

public static final int PHOSPHORUS
See Also:
Constant Field Values

SULPHUR

public static final int SULPHUR
See Also:
Constant Field Values

CHLORINE

public static final int CHLORINE
See Also:
Constant Field Values

ARGON

public static final int ARGON
See Also:
Constant Field Values

POTASSIUM

public static final int POTASSIUM
See Also:
Constant Field Values

CALCIUM

public static final int CALCIUM
See Also:
Constant Field Values

SCANDIUM

public static final int SCANDIUM
See Also:
Constant Field Values

TITANIUM

public static final int TITANIUM
See Also:
Constant Field Values

VANADIUM

public static final int VANADIUM
See Also:
Constant Field Values

CHROMIUM

public static final int CHROMIUM
See Also:
Constant Field Values

MANGANESE

public static final int MANGANESE
See Also:
Constant Field Values

IRON

public static final int IRON
See Also:
Constant Field Values

COBALT

public static final int COBALT
See Also:
Constant Field Values

NICKEL

public static final int NICKEL
See Also:
Constant Field Values

COPPER

public static final int COPPER
See Also:
Constant Field Values

ZINC

public static final int ZINC
See Also:
Constant Field Values

GALLIUM

public static final int GALLIUM
See Also:
Constant Field Values

GERMANIUM

public static final int GERMANIUM
See Also:
Constant Field Values

ARSENIC

public static final int ARSENIC
See Also:
Constant Field Values

SELENIUM

public static final int SELENIUM
See Also:
Constant Field Values

BROMINE

public static final int BROMINE
See Also:
Constant Field Values

KRYPTON

public static final int KRYPTON
See Also:
Constant Field Values

RUBIDIUM

public static final int RUBIDIUM
See Also:
Constant Field Values

STRONTIUM

public static final int STRONTIUM
See Also:
Constant Field Values

YTTRIUM

public static final int YTTRIUM
See Also:
Constant Field Values

ZIRCONIUM

public static final int ZIRCONIUM
See Also:
Constant Field Values

NIOBIUM

public static final int NIOBIUM
See Also:
Constant Field Values

MOLYBDENUM

public static final int MOLYBDENUM
See Also:
Constant Field Values

TECHNETIUM

public static final int TECHNETIUM
See Also:
Constant Field Values

RUTHENIUM

public static final int RUTHENIUM
See Also:
Constant Field Values

RHODIUM

public static final int RHODIUM
See Also:
Constant Field Values

PALLADIUM

public static final int PALLADIUM
See Also:
Constant Field Values

SILVER

public static final int SILVER
See Also:
Constant Field Values

CADMIUM

public static final int CADMIUM
See Also:
Constant Field Values

INDIUM

public static final int INDIUM
See Also:
Constant Field Values

TIN

public static final int TIN
See Also:
Constant Field Values

ANTIMONY

public static final int ANTIMONY
See Also:
Constant Field Values

TELLURIUM

public static final int TELLURIUM
See Also:
Constant Field Values

IODINE

public static final int IODINE
See Also:
Constant Field Values

XENON

public static final int XENON
See Also:
Constant Field Values

CESIUM

public static final int CESIUM
See Also:
Constant Field Values

BARIUM

public static final int BARIUM
See Also:
Constant Field Values

LANTHANUM

public static final int LANTHANUM
See Also:
Constant Field Values

CERIUM

public static final int CERIUM
See Also:
Constant Field Values

PRASEODYMIUM

public static final int PRASEODYMIUM
See Also:
Constant Field Values

NEODYMIUM

public static final int NEODYMIUM
See Also:
Constant Field Values

PROMETHIUM

public static final int PROMETHIUM
See Also:
Constant Field Values

SAMARIUM

public static final int SAMARIUM
See Also:
Constant Field Values

EUROPIUM

public static final int EUROPIUM
See Also:
Constant Field Values

GADOLINIUM

public static final int GADOLINIUM
See Also:
Constant Field Values

TERBIUM

public static final int TERBIUM
See Also:
Constant Field Values

DYSPROSIUM

public static final int DYSPROSIUM
See Also:
Constant Field Values

HOLMIUM

public static final int HOLMIUM
See Also:
Constant Field Values

ERBIUM

public static final int ERBIUM
See Also:
Constant Field Values

THULIUM

public static final int THULIUM
See Also:
Constant Field Values

YTTERBIUM

public static final int YTTERBIUM
See Also:
Constant Field Values

LUTETIUM

public static final int LUTETIUM
See Also:
Constant Field Values

HAFNIUM

public static final int HAFNIUM
See Also:
Constant Field Values

TANTALUM

public static final int TANTALUM
See Also:
Constant Field Values

WOLFRAM

public static final int WOLFRAM
See Also:
Constant Field Values

RHENIUM

public static final int RHENIUM
See Also:
Constant Field Values

OSMIUM

public static final int OSMIUM
See Also:
Constant Field Values

IRIDIUM

public static final int IRIDIUM
See Also:
Constant Field Values

PLATINUM

public static final int PLATINUM
See Also:
Constant Field Values

GOLD

public static final int GOLD
See Also:
Constant Field Values

MERCURY

public static final int MERCURY
See Also:
Constant Field Values

THALLIUM

public static final int THALLIUM
See Also:
Constant Field Values

LEAD

public static final int LEAD
See Also:
Constant Field Values

BISMUTH

public static final int BISMUTH
See Also:
Constant Field Values

POLONIUM

public static final int POLONIUM
See Also:
Constant Field Values

ASTATINE

public static final int ASTATINE
See Also:
Constant Field Values

RADON

public static final int RADON
See Also:
Constant Field Values

FRANCIUM

public static final int FRANCIUM
See Also:
Constant Field Values

RADIUM

public static final int RADIUM
See Also:
Constant Field Values

ACTINIUM

public static final int ACTINIUM
See Also:
Constant Field Values

THORIUM

public static final int THORIUM
See Also:
Constant Field Values

PROTACTINIUM

public static final int PROTACTINIUM
See Also:
Constant Field Values

URANIUM

public static final int URANIUM
See Also:
Constant Field Values

NEPTUNIUM

public static final int NEPTUNIUM
See Also:
Constant Field Values

PLUTONIUM

public static final int PLUTONIUM
See Also:
Constant Field Values

AMERICIUM

public static final int AMERICIUM
See Also:
Constant Field Values

CURIUM

public static final int CURIUM
See Also:
Constant Field Values

BERKELIUM

public static final int BERKELIUM
See Also:
Constant Field Values

CALIFORNIUM

public static final int CALIFORNIUM
See Also:
Constant Field Values

EINSTEINIUM

public static final int EINSTEINIUM
See Also:
Constant Field Values

FERMIUM

public static final int FERMIUM
See Also:
Constant Field Values

MENDELEVIUM

public static final int MENDELEVIUM
See Also:
Constant Field Values

NOBELIUM

public static final int NOBELIUM
See Also:
Constant Field Values

LAWRENCIUM

public static final int LAWRENCIUM
See Also:
Constant Field Values

UNQ

public static final int UNQ
See Also:
Constant Field Values

UNP

public static final int UNP
See Also:
Constant Field Values

valenceSymbols

public static final java.lang.String[] valenceSymbols
Symbols used for displaying valence states of atoms.


radicalSymbols

public static final java.lang.String[] radicalSymbols
Symbols used for displaying radical states of atoms. For radical state 2, we should probably use unicode Middle dot "·"


attachmentLabels

public static final java.lang.String[] attachmentLabels
Symbols used for displaying attachment points.

Constructor Detail

PeriodicTable

public PeriodicTable()
Method Detail

getElementFromSymbol

public static int getElementFromSymbol(java.lang.String symbol)
Find the atomic number (atom type) given a symbol.


getElementFromSymbol

public static int getElementFromSymbol(char e0,
                                       char e1)
Get element from characters from pdb file.


getAtomSymbolFromElement

public static java.lang.String getAtomSymbolFromElement(int num)
returns the symbol for the specified atom type


getElement

public static int getElement(char c0,
                             char c1)
Decode element string to atomic number.


getSymbol

public static java.lang.String getSymbol(int el)