Class BoundsGenerator
java.lang.Object
org.openscience.cdk.renderer.generators.BoundsGenerator
- All Implemented Interfaces:
IGenerator<IReaction>
Produce a bounding rectangle for various chem objects.
- Author:
- maclean
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe color of the box drawn at the bounds of a molecule, molecule set, or reaction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(IReaction reaction, RendererModel model) Converts aIChemObjectfrom the chemical data model into something that can be drawn in the chemical drawing.Returns the list ofIGeneratorParameterfor this particular generator.
-
Constructor Details
-
BoundsGenerator
public BoundsGenerator()
-
-
Method Details
-
generate
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
Returns the list ofIGeneratorParameterfor this particular generator.- Specified by:
getParametersin interfaceIGenerator<IReaction>- Returns:
- a
ListofIGeneratorParameters
-