Package | Description |
---|---|
org.openscience.cdk.renderer | |
org.openscience.cdk.renderer.generators | |
org.openscience.cdk.renderer.visitor |
Modifier and Type | Method and Description |
---|---|
RendererModel |
IRenderer.getRenderer2DModel()
Returns the drawing model, giving access to drawing parameters.
|
RendererModel |
AbstractRenderer.getRenderer2DModel()
Get the
RendererModel used by this renderer, which provides
access to the various parameters used to generate and draw the diagram. |
Constructor and Description |
---|
AbstractRenderer(RendererModel rendererModel) |
AtomContainerRenderer(RendererModel rendererModel,
List<IGenerator<IAtomContainer>> generators,
IFontManager fontManager) |
MoleculeSetRenderer(RendererModel rendererModel,
List<IGenerator<IAtomContainer>> generators,
IFontManager fontManager) |
ReactionRenderer(RendererModel rendererModel,
List<IGenerator<IAtomContainer>> generators,
IFontManager fontManager) |
ReactionSetRenderer(RendererModel rendererModel,
List<IGenerator<IAtomContainer>> generators,
IFontManager fontManager) |
Modifier and Type | Method and Description |
---|---|
IRenderingElement |
ExtendedAtomGenerator.generate(IAtomContainer container,
IAtom atom,
RendererModel model)
Generate the rendering element(s) for a particular atom.
|
IRenderingElement |
BasicAtomGenerator.generate(IAtomContainer atomContainer,
IAtom atom,
RendererModel model)
Generate the rendering element(s) for a particular atom.
|
IRenderingElement |
RadicalGenerator.generate(IAtomContainer container,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
LonePairGenerator.generate(IAtomContainer container,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
BasicSceneGenerator.generate(IAtomContainer ac,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
BasicGenerator.generate(IAtomContainer ac,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
BasicBondGenerator.generate(IAtomContainer container,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
BasicAtomGenerator.generate(IAtomContainer container,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
AtomNumberGenerator.generate(IAtomContainer container,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
AtomContainerBoundsGenerator.generate(IAtomContainer container,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
BasicBondGenerator.generate(IBond currentBond,
RendererModel model)
Generate rendering element(s) for the current bond, including ring
elements if this bond is part of a ring.
|
IRenderingElement |
ReactionSceneGenerator.generate(IReaction reaction,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
ReactionPlusGenerator.generate(IReaction reaction,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
ReactionBoxGenerator.generate(IReaction reaction,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
ReactionArrowGenerator.generate(IReaction reaction,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
ReactantsBoxGenerator.generate(IReaction reaction,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
ProductsBoxGenerator.generate(IReaction reaction,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
MappingGenerator.generate(IReaction reaction,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
BoundsGenerator.generate(IReaction reaction,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
IGenerator.generate(T object,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
IRenderingElement |
BasicBondGenerator.generateBond(IBond bond,
RendererModel model)
Generate stereo or bond elements for this bond.
|
IRenderingElement |
BasicBondGenerator.generateBondElement(IBond bond,
IBond.Order type,
RendererModel model)
Generate a LineElement or an ElementGroup of LineElements for this bond.
|
IRenderingElement |
BasicBondGenerator.generateBondElement(IBond bond,
RendererModel model)
Generate rendering elements for a bond, without ring elements but
considering the type of the bond (single, double, triple).
|
IRenderingElement |
BasicAtomGenerator.generateCompactElement(IAtom atom,
RendererModel model)
Generate a compact element for an atom, such as a circle or a square,
rather than text element.
|
AtomSymbolElement |
BasicAtomGenerator.generateElement(IAtom atom,
int alignment,
RendererModel model)
Generate an atom symbol element.
|
LineElement |
BasicBondGenerator.generateInnerElement(IBond bond,
IRing ring,
RendererModel model)
Make the inner ring bond, which is slightly shorter than the outer bond.
|
IRenderingElement |
RingGenerator.generateRingElements(IBond bond,
IRing ring,
RendererModel model)
Generate ring elements, such as inner-ring bonds or ring stereo elements.
|
IRenderingElement |
BasicBondGenerator.generateRingElements(IBond bond,
IRing ring,
RendererModel model)
Generate ring elements, such as inner-ring bonds or ring stereo elements.
|
Color |
BasicBondGenerator.getColorForBond(IBond bond,
RendererModel model)
Determine the color of a bond, returning either the default color,
the override color or whatever is in the color hash for that bond.
|
double |
BasicBondGenerator.getWidthForBond(IBond bond,
RendererModel model)
Determine the width of a bond, returning either the width defined
in the model, or the override width.
|
boolean |
AtomMassGenerator.showCarbon(IAtom atom,
IAtomContainer container,
RendererModel model)
Returns true if the mass number of this element is set and not
equal the mass number of the most abundant isotope of this element.
|
Modifier and Type | Method and Description |
---|---|
RendererModel |
AWTDrawVisitor.getRendererModel()
Returns the current
RendererModel . |
Modifier and Type | Method and Description |
---|---|
void |
IDrawVisitor.setRendererModel(RendererModel rendererModel)
Sets the
RendererModel this IDrawVisitor should use. |
void |
AWTDrawVisitor.setRendererModel(RendererModel rendererModel)
Sets the
RendererModel this IDrawVisitor should use. |