Interface IGenerator<T extends IChemObject>
-
- All Known Implementing Classes:
AtomContainerBoundsGenerator
,AtomMassGenerator
,AtomNumberGenerator
,BasicAtomGenerator
,BasicBondGenerator
,BasicGenerator
,BasicSceneGenerator
,BoundsGenerator
,ExtendedAtomGenerator
,HighlightGenerator
,LonePairGenerator
,MappingGenerator
,ProductsBoxGenerator
,RadicalGenerator
,ReactantsBoxGenerator
,ReactionArrowGenerator
,ReactionBoxGenerator
,ReactionPlusGenerator
,ReactionSceneGenerator
,RingGenerator
,StandardGenerator
public interface IGenerator<T extends IChemObject>
AnIGenerator
converts chemical entities into parts of the chemical drawing expressed asIRenderingElement
s. Note that some generators have explicit empty constructors (like: "public MyGenerator() {}") which can be useful in some situations where reflection is required. It is not, however, necessary for most normal drawing situations.- Source code:
- main
- Belongs to CDK module:
- render
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRenderingElement
generate(T object, RendererModel model)
Converts aIChemObject
from the chemical data model into something that can be drawn in the chemical drawing.List<IGeneratorParameter<?>>
getParameters()
Returns the list ofIGeneratorParameter
for this particular generator.
-
-
-
Method Detail
-
getParameters
List<IGeneratorParameter<?>> getParameters()
Returns the list ofIGeneratorParameter
for this particular generator.- Returns:
- a
List
ofIGeneratorParameter
s
-
generate
IRenderingElement generate(T object, RendererModel model)
Converts aIChemObject
from the chemical data model into something that can be drawn in the chemical drawing.- Parameters:
object
- the chemical entity to be depictedmodel
- the rendering parameters- Returns:
- a drawable chemical depiction component
-
-