public class AtomSymbolElement extends TextElement
Modifier and Type | Field and Description |
---|---|
int |
alignment
The hydrogen alignment.
|
int |
formalCharge
The formal charge.
|
int |
hydrogenCount
The hydrogen count.
|
color, text, xCoord, yCoord
Constructor and Description |
---|
AtomSymbolElement(double x,
double y,
String symbol,
Integer formalCharge,
Integer hydrogenCount,
int alignment,
Color color) |
Modifier and Type | Method and Description |
---|---|
void |
accept(IRenderingVisitor v)
Converts this
TextElement into widget specific objects. |
public final int formalCharge
public final int hydrogenCount
public final int alignment
public void accept(IRenderingVisitor v)
TextElement
into widget specific objects.accept
in interface IRenderingElement
accept
in class TextElement
v
- Toolkit specific widget factory.Copyright © 2021. All rights reserved.