Class ReactionArrowGenerator
- java.lang.Object
-
- org.openscience.cdk.renderer.generators.ReactionArrowGenerator
-
- All Implemented Interfaces:
IGenerator<IReaction>
public class ReactionArrowGenerator extends Object implements IGenerator<IReaction>
Generate the arrow for a reaction.- Author:
- maclean
- Source code:
- main
- Belongs to CDK module:
- renderextra
-
-
Constructor Summary
Constructors Constructor Description ReactionArrowGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRenderingElement
generate(IReaction reaction, RendererModel model)
Converts aIChemObject
from the chemical data model into something that can be drawn in the chemical drawing.List<IGeneratorParameter<?>>
getParameters()
Returns the list ofIGeneratorParameter
for this particular generator.
-
-
-
Method Detail
-
generate
public IRenderingElement generate(IReaction reaction, RendererModel model)
Converts aIChemObject
from the chemical data model into something that can be drawn in the chemical drawing.- Specified by:
generate
in interfaceIGenerator<IReaction>
- Parameters:
reaction
- the chemical entity to be depictedmodel
- the rendering parameters- Returns:
- a drawable chemical depiction component
-
getParameters
public List<IGeneratorParameter<?>> getParameters()
Returns the list ofIGeneratorParameter
for this particular generator.- Specified by:
getParameters
in interfaceIGenerator<IReaction>
- Returns:
- a
List
ofIGeneratorParameter
s
-
-