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, stereoParity
electronValency, formalCharge, formalNeighbourCount, hybridization
SGROUP_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, 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 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.Atom
public 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 ISGroup
public void setSubscript(String subscript)
ISGroup
SGroupMDL2000Helper.SGROUP_LINE.M__SMT
.setSubscript
in interface ISGroup
public String getSubscript()
getSubscript
in interface ISGroup
public void addBrackets(double x1, double y1, double x2, double y2)
addBrackets
in interface ISGroup
public 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.