ambit2.core.groups
Class MultipleGroup
java.lang.Object
org.openscience.cdk.ChemObject
org.openscience.cdk.Element
org.openscience.cdk.Isotope
org.openscience.cdk.AtomType
org.openscience.cdk.Atom
org.openscience.cdk.PseudoAtom
ambit2.core.groups.AbstractGroup
ambit2.core.groups.MultipleGroup
- All Implemented Interfaces:
- IExpandable, ISGroup, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ISGroup>, org.openscience.cdk.interfaces.IAtom, org.openscience.cdk.interfaces.IAtomType, org.openscience.cdk.interfaces.IChemObject, org.openscience.cdk.interfaces.IElement, org.openscience.cdk.interfaces.IIsotope, org.openscience.cdk.interfaces.IPseudoAtom
public class MultipleGroup
- extends AbstractGroup
- implements IExpandable
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface org.openscience.cdk.interfaces.IAtomType |
org.openscience.cdk.interfaces.IAtomType.Hybridization |
Field Summary |
protected int |
multiplier
|
protected int |
number
|
protected java.util.List<org.openscience.cdk.interfaces.IAtom> |
parentAtoms
|
protected java.util.List<org.openscience.cdk.interfaces.IBond> |
parentBonds
|
Fields inherited from class org.openscience.cdk.Atom |
charge, fractionalPoint3d, hydrogenCount, point2d, point3d, stereoParity |
Fields inherited from class org.openscience.cdk.AtomType |
electronValency, formalCharge, formalNeighbourCount, hybridization |
Fields inherited from class org.openscience.cdk.Isotope |
exactMass, naturalAbundance |
Fields inherited from class org.openscience.cdk.Element |
atomicNumber, symbol |
Constructor Summary |
MultipleGroup(java.lang.String label,
int number)
|
Methods inherited from class ambit2.core.groups.AbstractGroup |
addAtom, addBond, addBondsConnected2Atoms, addBrackets, compareTo, equals, getNumber, getSubscript, isExpanded, isGroupVisible, setGroupVisible, setNumber, setSubscript |
Methods inherited from class org.openscience.cdk.PseudoAtom |
clone, getLabel, setCharge, setExactMass, setFormalCharge, setHydrogenCount, setLabel, setStereoParity, toString |
Methods inherited from class org.openscience.cdk.Atom |
compare, getCharge, getFractionalPoint3d, getHydrogenCount, getPoint2d, getPoint3d, getStereoParity, setCharge, setFractionalPoint3d, setHydrogenCount, setPoint2d, setPoint3d, setStereoParity |
Methods inherited from class org.openscience.cdk.AtomType |
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, getVanderwaalsRadius, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency, setVanderwaalsRadius |
Methods inherited from class org.openscience.cdk.Isotope |
getExactMass, getMassNumber, getNaturalAbundance, setMassNumber, setNaturalAbundance |
Methods inherited from class org.openscience.cdk.Element |
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol |
Methods inherited from class org.openscience.cdk.ChemObject |
addListener, getBuilder, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopy |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openscience.cdk.interfaces.IAtom |
getCharge, getFractionalPoint3d, getHydrogenCount, getPoint2d, getPoint3d, getStereoParity, setCharge, setFractionalPoint3d, setHydrogenCount, setPoint2d, setPoint3d, setStereoParity |
Methods inherited from interface org.openscience.cdk.interfaces.IAtomType |
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, getVanderwaalsRadius, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency, setVanderwaalsRadius |
Methods inherited from interface org.openscience.cdk.interfaces.IIsotope |
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance |
Methods inherited from interface org.openscience.cdk.interfaces.IElement |
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol |
Methods inherited from interface org.openscience.cdk.interfaces.IChemObject |
addListener, clone, getBuilder, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString |
multiplier
protected int multiplier
number
protected int number
parentAtoms
protected java.util.List<org.openscience.cdk.interfaces.IAtom> parentAtoms
parentBonds
protected java.util.List<org.openscience.cdk.interfaces.IBond> parentBonds
MultipleGroup
public MultipleGroup(java.lang.String label,
int number)
getMultiplier
public int getMultiplier()
setMultiplier
public void setMultiplier(int multiplier)
addParentAtom
public void addParentAtom(org.openscience.cdk.interfaces.IAtom atom)
setExpanded
public void setExpanded(boolean expanded)
- Specified by:
setExpanded
in interface IExpandable
getAtoms
public java.lang.Iterable<org.openscience.cdk.interfaces.IAtom> getAtoms(boolean expanded)
- Specified by:
getAtoms
in interface ISGroup
- Overrides:
getAtoms
in class AbstractGroup
getBonds
public java.lang.Iterable<org.openscience.cdk.interfaces.IBond> getBonds(boolean expanded)
- Specified by:
getBonds
in interface ISGroup
- Overrides:
getBonds
in class AbstractGroup
finalizeAtomList
public void finalizeAtomList(org.openscience.cdk.interfaces.IAtomContainer mol)
- Description copied from class:
AbstractGroup
- does nothing
- Specified by:
finalizeAtomList
in interface ISGroup
- Overrides:
finalizeAtomList
in class AbstractGroup
finalizeParentAtomList
public void finalizeParentAtomList(org.openscience.cdk.interfaces.IAtomContainer mol)
isExpanded
public boolean isExpanded()
- Specified by:
isExpanded
in interface IExpandable