public class FragmentAtom extends PseudoAtom implements IFragmentAtom
Group concept.IAtomType.Hybridizationcharge, fractionalPoint3d, hydrogenCount, point2d, point3d, stereoParityelectronValency, formalCharge, formalNeighbourCount, hybridizationexactMass, naturalAbundanceatomicNumber| Constructor and Description |
|---|
FragmentAtom() |
| Modifier and Type | Method and Description |
|---|---|
IFragmentAtom |
clone()
Clones this atom object and its content.
|
Double |
getExactMass()
The exact mass of an FragmentAtom is defined as the sum of exact masses
of the IAtom's in the fragment.
|
IAtomContainer |
getFragment()
Returns the fully expended form of the IFragmentAtom.
|
boolean |
isExpanded()
Helper method to indicate that the method should be drawn fully, and not
just the abbreviated form.
|
void |
setExactMass(Double mass)
Sets the ExactMass attribute of the Isotope object.
|
void |
setExpanded(boolean bool)
Sets whether this atom is to be fully drawn and not just in the abbreviated form.
|
void |
setFragment(IAtomContainer fragment)
Sets the fully expended form of the IFragmentAtom.
|
String |
toString()
Returns a one line string representation of this Atom.
|
getAttachPointNum, getLabel, setAttachPointNum, setLabel, setStereoParitybonds, compare, equals, getBond, 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, setValencygetMassNumber, getNaturalAbundance, 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, waitgetAttachPointNum, getLabel, setAttachPointNum, setLabelbonds, getBond, 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, setValencygetMassNumber, getNaturalAbundance, setMassNumber, setNaturalAbundancegetAtomicNumber, getSymbol, setAtomicNumber, setSymboladdListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setPropertygetBuilderpublic boolean isExpanded()
IFragmentAtomisExpanded in interface IFragmentAtompublic void setExpanded(boolean bool)
IFragmentAtomsetExpanded in interface IFragmentAtombool - true if the full structure should be drawnpublic IAtomContainer getFragment()
IFragmentAtomgetFragment in interface IFragmentAtompublic void setFragment(IAtomContainer fragment)
IFragmentAtomsetFragment in interface IFragmentAtomfragment - The fragmentpublic void setExactMass(Double mass)
IsotopesetExactMass in interface IIsotopesetExactMass in class Isotopemass - The new ExactMass valueIsotope.getExactMass()public Double getExactMass()
getExactMass in interface IIsotopegetExactMass in class IsotopeIsotope.setExactMass(java.lang.Double)public String toString()
PseudoAtomtoString in interface IChemObjecttoString in class PseudoAtompublic IFragmentAtom clone() throws CloneNotSupportedException
Atomclone in interface IAtomclone in interface IChemObjectclone in interface IPseudoAtomclone in class PseudoAtomCloneNotSupportedException - if the IChemObject cannot be clonedCopyright © 2018. All Rights Reserved.