Class LonePairGenerator
java.lang.Object
org.openscience.cdk.renderer.generators.LonePairGenerator
- All Implemented Interfaces:
IGenerator<IAtomContainer>
Generate the symbols for lone pairs.
- Author:
- maclean
- 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
-
LonePairGenerator
public LonePairGenerator()
-
-
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
-