public interface IGenerator<T extends IChemObject>
IGenerator
converts chemical entities into parts of the
chemical drawing expressed as IRenderingElement
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.Modifier and Type | Method and Description |
---|---|
IRenderingElement |
generate(T object,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
List<IGeneratorParameter<?>> |
getParameters()
Returns the list of
IGeneratorParameter for this particular
generator. |
List<IGeneratorParameter<?>> getParameters()
IGeneratorParameter
for this particular
generator.List
of IGeneratorParameter
sIRenderingElement generate(T object, RendererModel model)
IChemObject
from the chemical data model into
something that can be drawn in the chemical drawing.object
- the chemical entity to be depictedmodel
- the rendering parametersCopyright © 2017. All Rights Reserved.