org.openscience.cdk.interfaces
Interface IChemSequence

All Superinterfaces:
Cloneable, ICDKObject, IChemObject
All Known Implementing Classes:
ChemSequence, DebugChemSequence, NNChemSequence

public interface IChemSequence
extends IChemObject

A sequence of ChemModels, which can, for example, be used to store the course of a reaction. Each state of the reaction would be stored in one ChemModel.

Keywords:
animation, reaction
Belongs to CDK module:
interfaces
Source code:
HEAD

Method Summary
 void addChemModel(IChemModel chemModel)
          Adds an chemModel to this container.
 Iterable<IChemModel> chemModels()
          Returns an Iterable to ChemModels in this container.
 IChemModel getChemModel(int number)
          Returns the ChemModel at position number in the container.
 int getChemModelCount()
          Returns the number of ChemModels in this Container.
 void removeChemModel(int pos)
          Remove a ChemModel from this ChemSequence.
 
Methods inherited from interface org.openscience.cdk.interfaces.IChemObject
addListener, clone, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
 
Methods inherited from interface org.openscience.cdk.interfaces.ICDKObject
getBuilder
 

Method Detail

addChemModel

void addChemModel(IChemModel chemModel)
Adds an chemModel to this container.

Parameters:
chemModel - The chemModel to be added to this container
See Also:
getChemModel(int)

removeChemModel

void removeChemModel(int pos)
Remove a ChemModel from this ChemSequence.

Parameters:
pos - The position of the ChemModel to be removed.

chemModels

Iterable<IChemModel> chemModels()
Returns an Iterable to ChemModels in this container.

Returns:
The Iterable to ChemModels in this container
See Also:
addChemModel(org.openscience.cdk.interfaces.IChemModel)

getChemModel

IChemModel getChemModel(int number)
Returns the ChemModel at position number in the container.

Parameters:
number - The position of the ChemModel to be returned.
Returns:
The ChemModel at position number.
See Also:
addChemModel(org.openscience.cdk.interfaces.IChemModel)

getChemModelCount

int getChemModelCount()
Returns the number of ChemModels in this Container.

Returns:
The number of ChemModels in this Container