astex
Class AtomIterator

java.lang.Object
  extended by astex.AtomIterator
All Implemented Interfaces:
java.util.Enumeration

public class AtomIterator
extends java.lang.Object
implements java.util.Enumeration


Constructor Summary
AtomIterator(MoleculeRenderer moleculeRenderer)
          The only public constructor.
 
Method Summary
 Atom getNextAtom()
          Get the next atom.
 boolean hasMoreElements()
          Do we have more elements.
 java.lang.Object nextElement()
          Get the next element.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomIterator

public AtomIterator(MoleculeRenderer moleculeRenderer)
The only public constructor.

Method Detail

hasMoreElements

public boolean hasMoreElements()
Do we have more elements.

Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Get the next element.

Specified by:
nextElement in interface java.util.Enumeration

getNextAtom

public Atom getNextAtom()
Get the next atom.