Package com.actelion.research.gui
Class DefaultCompoundCollectionModel.Native
- java.lang.Object
-
- com.actelion.research.gui.DefaultCompoundCollectionModel<java.lang.Object>
-
- com.actelion.research.gui.DefaultCompoundCollectionModel.Native
-
- All Implemented Interfaces:
CompoundCollectionModel<java.lang.Object>
- Enclosing class:
- DefaultCompoundCollectionModel<T>
public static class DefaultCompoundCollectionModel.Native extends DefaultCompoundCollectionModel<java.lang.Object>
This version of the DefaultCompoundCollectionModel collects IDCodes and StereoMolecules without conversion into their native type. It is the preferred model if the molecule source type is not predictable.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.actelion.research.gui.DefaultCompoundCollectionModel
DefaultCompoundCollectionModel.IDCode, DefaultCompoundCollectionModel.IDCodeWithName, DefaultCompoundCollectionModel.Molecule, DefaultCompoundCollectionModel.Native
-
-
Constructor Summary
Constructors Constructor Description Native()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMolecule(int index, StereoMolecule mol)
StereoMolecule
getMolecule(int index)
void
setMolecule(int index, StereoMolecule mol)
-
Methods inherited from class com.actelion.research.gui.DefaultCompoundCollectionModel
addCompound, addCompound, addCompoundCollectionListener, addCompoundList, addMoleculeList, clear, getCompound, getMoleculeForDisplay, getSize, remove, removeCompoundCollectionListener, setCompound, setCompoundList
-
-
-
-
Method Detail
-
getMolecule
public StereoMolecule getMolecule(int index)
- Specified by:
getMolecule
in interfaceCompoundCollectionModel<java.lang.Object>
- Specified by:
getMolecule
in classDefaultCompoundCollectionModel<java.lang.Object>
-
setMolecule
public void setMolecule(int index, StereoMolecule mol)
- Specified by:
setMolecule
in interfaceCompoundCollectionModel<java.lang.Object>
- Specified by:
setMolecule
in classDefaultCompoundCollectionModel<java.lang.Object>
-
addMolecule
public void addMolecule(int index, StereoMolecule mol)
- Specified by:
addMolecule
in interfaceCompoundCollectionModel<java.lang.Object>
- Specified by:
addMolecule
in classDefaultCompoundCollectionModel<java.lang.Object>
-
-