Class AtomContainerBoundsGenerator
java.lang.Object
org.openscience.cdk.renderer.generators.AtomContainerBoundsGenerator
- All Implemented Interfaces:
IGenerator<IAtomContainer>
IGenerator
that draws a rectangular around the IAtomContainer
.- Source code:
- main
- Belongs to CDK module:
- renderextra
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate
(IAtomContainer container, RendererModel model) Converts aIChemObject
from the chemical data model into something that can be drawn in the chemical drawing.Returns the list ofIGeneratorParameter
for this particular generator.
-
Constructor Details
-
AtomContainerBoundsGenerator
public AtomContainerBoundsGenerator()
-
-
Method Details
-
generate
Converts aIChemObject
from the chemical data model into something that can be drawn in the chemical drawing.- Specified by:
generate
in interfaceIGenerator<IAtomContainer>
- Parameters:
container
- the chemical entity to be depictedmodel
- the rendering parameters- Returns:
- a drawable chemical depiction component
-
getParameters
Returns the list ofIGeneratorParameter
for this particular generator.- Specified by:
getParameters
in interfaceIGenerator<IAtomContainer>
- Returns:
- a
List
ofIGeneratorParameter
s
-