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 aIChemObjectfrom the chemical data model into something that can be drawn in the chemical drawing.Returns the list ofIGeneratorParameterfor this particular generator.
-
Constructor Details
-
LonePairGenerator
public LonePairGenerator()
-
-
Method Details
-
generate
Converts aIChemObjectfrom the chemical data model into something that can be drawn in the chemical drawing.- Specified by:
generatein interfaceIGenerator<IAtomContainer>- Parameters:
container- 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<IAtomContainer>- Returns:
- a
ListofIGeneratorParameters
-