public abstract class AbstractGroup extends org.openscience.cdk.PseudoAtom implements ISGroup
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractGroup.EmptyIterator<T> |
protected class |
AbstractGroup.SelfIterable<T> |
| Modifier and Type | Field and Description |
|---|---|
protected List<org.openscience.cdk.interfaces.IAtom> |
atoms |
protected List<org.openscience.cdk.interfaces.IBond> |
bonds |
protected int |
number |
charge, fractionalPoint3d, hydrogenCount, point2d, point3d, stereoParityelectronValency, formalCharge, formalNeighbourCount, hybridizationSGROUP_CONNECTIVITY, SGROUP_VISIBLE| Constructor and Description |
|---|
AbstractGroup() |
AbstractGroup(String label) |
AbstractGroup(String label,
int number) |
| Modifier and Type | Method and Description |
|---|---|
org.openscience.cdk.interfaces.IAtom |
addAtom(org.openscience.cdk.interfaces.IAtom atom) |
org.openscience.cdk.interfaces.IBond |
addBond(org.openscience.cdk.interfaces.IBond bond) |
void |
addBondsConnected2Atoms(org.openscience.cdk.interfaces.IAtomContainer mol,
List<org.openscience.cdk.interfaces.IAtom> atoms,
List<org.openscience.cdk.interfaces.IBond> bonds) |
void |
addBrackets(double x1,
double y1,
double x2,
double y2) |
int |
compareTo(ISGroup o) |
boolean |
equals(Object obj) |
void |
finalizeAtomList(org.openscience.cdk.interfaces.IAtomContainer mol)
does nothing
|
Iterable<org.openscience.cdk.interfaces.IAtom> |
getAtoms(boolean expanded) |
Iterable<org.openscience.cdk.interfaces.IBond> |
getBonds(boolean expanded) |
int |
getNumber() |
String |
getSubscript() |
boolean |
isExpanded(org.openscience.cdk.interfaces.IBond bond) |
static boolean |
isGroupVisible(org.openscience.cdk.interfaces.IChemObject c) |
static void |
setGroupVisible(org.openscience.cdk.interfaces.IChemObject c,
boolean visible) |
void |
setNumber(int number) |
void |
setSubscript(String subscript)
text of Sgroup subscript.
|
clone, getAttachPointNum, getLabel, setAttachPointNum, setLabel, setStereoParity, toStringbonds, compare, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getPoint2d, getPoint3d, getStereoParity, hashCode, isAromatic, isInRing, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setPoint2d, setPoint3dgetAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValencygetExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundancegetAtomicNumber, getSymbol, setAtomicNumber, setSymboladdListener, addProperties, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopyfinalize, getClass, notify, notifyAll, wait, wait, waitbonds, clone, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getPoint2d, getPoint3d, getStereoParity, isAromatic, isInRing, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setPoint2d, setPoint3d, setStereoParitygetAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValencygetExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundancegetAtomicNumber, getSymbol, setAtomicNumber, setSymboladdListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toStringprotected List<org.openscience.cdk.interfaces.IAtom> atoms
protected List<org.openscience.cdk.interfaces.IBond> bonds
protected int number
public AbstractGroup()
public AbstractGroup(String label)
public AbstractGroup(String label, int number)
public int compareTo(ISGroup o)
compareTo in interface Comparable<ISGroup>public boolean equals(Object obj)
equals in class org.openscience.cdk.Atompublic org.openscience.cdk.interfaces.IAtom addAtom(org.openscience.cdk.interfaces.IAtom atom)
public org.openscience.cdk.interfaces.IBond addBond(org.openscience.cdk.interfaces.IBond bond)
public void finalizeAtomList(org.openscience.cdk.interfaces.IAtomContainer mol)
finalizeAtomList in interface ISGrouppublic void setSubscript(String subscript)
ISGroupSGroupMDL2000Helper.SGROUP_LINE.M__SMT.setSubscript in interface ISGrouppublic String getSubscript()
getSubscript in interface ISGrouppublic void addBrackets(double x1,
double y1,
double x2,
double y2)
addBrackets in interface ISGrouppublic Iterable<org.openscience.cdk.interfaces.IAtom> getAtoms(boolean expanded)
public Iterable<org.openscience.cdk.interfaces.IBond> getBonds(boolean expanded)
public boolean isExpanded(org.openscience.cdk.interfaces.IBond bond)
public static void setGroupVisible(org.openscience.cdk.interfaces.IChemObject c,
boolean visible)
public static boolean isGroupVisible(org.openscience.cdk.interfaces.IChemObject c)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.