public class AtomMassSymbolElement extends AtomSymbolElement
IAtom mass number information.| Modifier and Type | Field and Description |
|---|---|
int |
atomMassNumber
The
IAtoms mass number. |
alignment, formalCharge, hydrogenCountcolor, text, xCoord, yCoord| Constructor and Description |
|---|
AtomMassSymbolElement(double xCoord,
double yCoord,
String symbol,
Integer formalCharge,
Integer hydrogenCount,
int alignment,
Integer atomMass,
Color color)
Constructs a new
TextElement displaying the atom's mass number information. |
public final int atomMassNumber
IAtoms mass number.public AtomMassSymbolElement(double xCoord,
double yCoord,
String symbol,
Integer formalCharge,
Integer hydrogenCount,
int alignment,
Integer atomMass,
Color color)
TextElement displaying the atom's mass number information.xCoord - screen x-coordinate of where the text is displayedyCoord - screen y-coordinate of where the text is displayedsymbol - the element symbol of the atomformalCharge - the formal charge of the atomhydrogenCount - the number of implicit hydrogens of the atomalignment - indicator of how the text should be alignedatomMass - the mass number of the atomcolor - the color