Class ReactionBoxGenerator
- java.lang.Object
-
- org.openscience.cdk.renderer.generators.ReactionBoxGenerator
-
- All Implemented Interfaces:
IGenerator<IReaction>
public class ReactionBoxGenerator extends Object implements IGenerator<IReaction>
Generate the symbols for radicals.- Author:
- maclean
- Source code:
- main
- Belongs to CDK module:
- renderextra
-
-
Constructor Summary
Constructors Constructor Description ReactionBoxGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRenderingElementgenerate(IReaction reaction, RendererModel model)Converts aIChemObjectfrom the chemical data model into something that can be drawn in the chemical drawing.List<IGeneratorParameter<?>>getParameters()Returns the list ofIGeneratorParameterfor this particular generator.
-
-
-
Method Detail
-
generate
public IRenderingElement generate(IReaction reaction, RendererModel model)
Converts aIChemObjectfrom the chemical data model into something that can be drawn in the chemical drawing.- Specified by:
generatein 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 ofIGeneratorParameterfor this particular generator.- Specified by:
getParametersin interfaceIGenerator<IReaction>- Returns:
- a
ListofIGeneratorParameters
-
-