Interface IChemSequence

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

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.
Source code:
main
Belongs to CDK module:
interfaces
Keywords:
animation, reaction
  • Method Details

    • addChemModel

      void addChemModel(IChemModel chemModel)
      Adds an chemModel to this container.
      Parameters:
      chemModel - The chemModel to be added to this container
      See Also:
    • 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:
    • 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:
    • getChemModelCount

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