ambit2.core.groups
Class MultipleGroup

Package class diagram package MultipleGroup
java.lang.Object
  extended by org.openscience.cdk.ChemObject
      extended by org.openscience.cdk.Element
          extended by org.openscience.cdk.Isotope
              extended by org.openscience.cdk.AtomType
                  extended by org.openscience.cdk.Atom
                      extended by org.openscience.cdk.PseudoAtom
                          extended by ambit2.core.groups.AbstractGroup
                              extended by 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 Class Summary
 
Nested classes/interfaces inherited from class ambit2.core.groups.AbstractGroup
AbstractGroup.EmptyIterator<T>, AbstractGroup.SelfIterable<T>
 
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 ambit2.core.groups.AbstractGroup
atoms, bonds
 
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
 
Fields inherited from interface ambit2.core.groups.ISGroup
SGROUP_CONNECTIVITY, SGROUP_VISIBLE
 
Constructor Summary
MultipleGroup(java.lang.String label, int number)
           
 
Method Summary
 void addParentAtom(org.openscience.cdk.interfaces.IAtom atom)
           
 void finalizeAtomList(org.openscience.cdk.interfaces.IAtomContainer mol)
          does nothing
 void finalizeParentAtomList(org.openscience.cdk.interfaces.IAtomContainer mol)
           
 java.lang.Iterable<org.openscience.cdk.interfaces.IAtom> getAtoms(boolean expanded)
           
 java.lang.Iterable<org.openscience.cdk.interfaces.IBond> getBonds(boolean expanded)
           
 int getMultiplier()
           
 boolean isExpanded()
           
 void setExpanded(boolean expanded)
           
 void setMultiplier(int multiplier)
           
 
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
 

Field Detail

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
Constructor Detail

MultipleGroup

public MultipleGroup(java.lang.String label,
                     int number)
Method Detail

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