public class AtomNumberGenerator extends Object implements IGenerator<IAtomContainer>
IGenerator
for IAtomContainer
s that will draw atom numbers
for the atoms.Modifier and Type | Class and Description |
---|---|
static class |
AtomNumberGenerator.AtomColorer
The color scheme by which to color the atom numbers, if
the
AtomNumberGenerator.ColorByType boolean is true. |
static class |
AtomNumberGenerator.AtomNumberTextColor
Color to draw the atom numbers with.
|
static class |
AtomNumberGenerator.ColorByType
Boolean to indicate of the
AtomNumberGenerator.AtomColorer scheme will be used. |
static class |
AtomNumberGenerator.Offset
Offset vector in screen space coordinates where the atom number label
will be placed.
|
static class |
AtomNumberGenerator.WillDrawAtomNumbers
Boolean parameter indicating if atom numbers should be drawn, allowing
this feature to be disabled temporarily.
|
Constructor and Description |
---|
AtomNumberGenerator() |
Modifier and Type | Method and Description |
---|---|
IRenderingElement |
generate(IAtomContainer container,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
List<IGeneratorParameter<?>> |
getParameters()
Returns the list of
IGeneratorParameter for this particular
generator. |
public IRenderingElement generate(IAtomContainer container, RendererModel model)
IChemObject
from the chemical data model into
something that can be drawn in the chemical drawing.generate
in interface IGenerator<IAtomContainer>
container
- the chemical entity to be depictedmodel
- the rendering parameterspublic List<IGeneratorParameter<?>> getParameters()
IGeneratorParameter
for this particular
generator.getParameters
in interface IGenerator<IAtomContainer>
List
of IGeneratorParameter
sCopyright © 2018. All Rights Reserved.