Package org.openscience.cdk.interfaces
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
-
-
Field Summary
-
Fields inherited from interface org.openscience.cdk.interfaces.IChemObject
ALIPHATIC, AROMATIC, CONJUGATED, HYDROGEN_BOND_ACCEPTOR, HYDROGEN_BOND_DONOR, IN_RING, MAPPED, NOT_IN_RING, PLACED, REACTIVE_CENTER, SINGLE_OR_DOUBLE, TYPEABLE, VISITED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 positionnumber
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.ICDKObject
getBuilder
-
Methods inherited from interface org.openscience.cdk.interfaces.IChemObject
addListener, addProperties, clear, clone, flags, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
-
-
-
-
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 positionnumber
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
-
-