no.uio.labmed.molecule
Class Atom

java.lang.Object
  |
  +--no.uio.labmed.molecule.Molecule
        |
        +--no.uio.labmed.molecule.Atom
All Implemented Interfaces:
Atomic

public class Atom
extends Molecule
implements Atomic

An actual atom: ie. and instance of an atom, not just the atomic element. This may then have coordinates.


Constructor Summary
Atom(AtomicElement element)
           
 
Method Summary
 AtomicBondings bondings()
           
 MolecularElement element()
           
 java.util.Iterator iterator()
           
 void setCoord(float x, float y, float z)
           
 java.lang.String toString()
           
 java.lang.String vectorString()
           
 
Methods inherited from class no.uio.labmed.molecule.Molecule
getDescription, getName, getType, isAtom, treeString, treeString, treeString, xtoString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Atom

public Atom(AtomicElement element)
Method Detail

element

public MolecularElement element()
Specified by:
element in class Molecule

bondings

public AtomicBondings bondings()
Specified by:
bondings in interface Atomic

setCoord

public void setCoord(float x,
                     float y,
                     float z)

vectorString

public java.lang.String vectorString()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

iterator

public java.util.Iterator iterator()
Specified by:
iterator in class Molecule