public class MultipleGroup extends AbstractGroup implements IExpandable
AbstractGroup.EmptyIterator<T>, AbstractGroup.SelfIterable<T>
Modifier and Type | Field and Description |
---|---|
protected int |
multiplier |
protected int |
number |
protected List<org.openscience.cdk.interfaces.IAtom> |
parentAtoms |
protected List<org.openscience.cdk.interfaces.IBond> |
parentBonds |
atoms, bonds
charge, fractionalPoint3d, hydrogenCount, point2d, point3d, stereoParity
electronValency, formalCharge, formalNeighbourCount, hybridization
SGROUP_CONNECTIVITY, SGROUP_VISIBLE
Constructor and Description |
---|
MultipleGroup(String label,
int number) |
Modifier and Type | Method and Description |
---|---|
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) |
Iterable<org.openscience.cdk.interfaces.IAtom> |
getAtoms(boolean expanded) |
Iterable<org.openscience.cdk.interfaces.IBond> |
getBonds(boolean expanded) |
int |
getMultiplier() |
boolean |
isExpanded() |
void |
setExpanded(boolean expanded) |
void |
setMultiplier(int multiplier) |
addAtom, addBond, addBondsConnected2Atoms, addBrackets, compareTo, equals, getNumber, getSubscript, isExpanded, isGroupVisible, setGroupVisible, setNumber, setSubscript
clone, getAttachPointNum, getLabel, setAttachPointNum, setLabel, setStereoParity, toString
bonds, compare, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getPoint2d, getPoint3d, getStereoParity, hashCode, isAromatic, isInRing, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setPoint2d, setPoint3d
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol
addListener, addProperties, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopy
finalize, getClass, notify, notifyAll, wait, wait, wait
bonds, clone, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getPoint2d, getPoint3d, getStereoParity, isAromatic, isInRing, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setPoint2d, setPoint3d, setStereoParity
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol
addListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
protected int multiplier
protected int number
protected List<org.openscience.cdk.interfaces.IAtom> parentAtoms
protected List<org.openscience.cdk.interfaces.IBond> parentBonds
public MultipleGroup(String label, int number)
public int getMultiplier()
public void setMultiplier(int multiplier)
public void addParentAtom(org.openscience.cdk.interfaces.IAtom atom)
public void setExpanded(boolean expanded)
setExpanded
in interface IExpandable
public Iterable<org.openscience.cdk.interfaces.IAtom> getAtoms(boolean expanded)
getAtoms
in interface ISGroup
getAtoms
in class AbstractGroup
public Iterable<org.openscience.cdk.interfaces.IBond> getBonds(boolean expanded)
getBonds
in interface ISGroup
getBonds
in class AbstractGroup
public void finalizeAtomList(org.openscience.cdk.interfaces.IAtomContainer mol)
AbstractGroup
finalizeAtomList
in interface ISGroup
finalizeAtomList
in class AbstractGroup
public void finalizeParentAtomList(org.openscience.cdk.interfaces.IAtomContainer mol)
public boolean isExpanded()
isExpanded
in interface IExpandable
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.