public class MappingGenerator extends Object implements IGenerator<IReaction>
IGenerator
that will show how atoms map between the reactant and
product side.Modifier and Type | Class and Description |
---|---|
static class |
MappingGenerator.AtomAtomMappingLineColor
The width on screen of an atom-atom mapping line.
|
static class |
MappingGenerator.MappingLineWidth
The width on screen of an atom-atom mapping line.
|
static class |
MappingGenerator.ShowAtomAtomMapping
Boolean by which atom-atom mapping depiction can be temporarily disabled.
|
Constructor and Description |
---|
MappingGenerator() |
Modifier and Type | Method and Description |
---|---|
IRenderingElement |
generate(IReaction reaction,
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(IReaction reaction, RendererModel model)
IChemObject
from the chemical data model into
something that can be drawn in the chemical drawing.generate
in interface IGenerator<IReaction>
reaction
- the chemical entity to be depictedmodel
- the rendering parameterspublic List<IGeneratorParameter<?>> getParameters()
IGeneratorParameter
for this particular
generator.getParameters
in interface IGenerator<IReaction>
List
of IGeneratorParameter
sCopyright © 2021. All rights reserved.