public class AtomMassGenerator extends BasicAtomGenerator
IGenerator
that can render mass number information of atoms.BasicAtomGenerator.AtomColor, BasicAtomGenerator.AtomColorer, BasicAtomGenerator.AtomRadius, BasicAtomGenerator.ColorByType, BasicAtomGenerator.CompactAtom, BasicAtomGenerator.CompactShape, BasicAtomGenerator.KekuleStructure, BasicAtomGenerator.Shape, BasicAtomGenerator.ShowEndCarbons, BasicAtomGenerator.ShowExplicitHydrogens
Constructor and Description |
---|
AtomMassGenerator() |
Modifier and Type | Method and Description |
---|---|
boolean |
showCarbon(IAtom atom,
IAtomContainer container,
RendererModel model)
Returns true if the mass number of this element is set and not
equal the mass number of the most abundant isotope of this element.
|
canDraw, generate, generate, generateCompactElement, generateElement, getAtomColor, getParameters, hasCoordinates, invisibleCarbon, invisibleHydrogen, isHydrogen
public boolean showCarbon(IAtom atom, IAtomContainer container, RendererModel model)
showCarbon
in class BasicAtomGenerator
atom
- IAtom
which is being examinedcontainer
- IAtomContainer
of which the atom is partmodel
- the RendererModel
Copyright © 2021. All rights reserved.