Package | Description |
---|---|
org.openscience.cdk.renderer | |
org.openscience.cdk.renderer.generators | |
org.openscience.cdk.renderer.generators.standard | |
org.openscience.cdk.renderer.visitor |
Modifier and Type | Field and Description |
---|---|
protected RendererModel |
AbstractRenderer.rendererModel
The renderer model is final as it is not intended to be replaced.
|
Modifier and Type | Method and Description |
---|---|
RendererModel |
AbstractRenderer.getRenderer2DModel()
Get the
RendererModel used by this renderer, which provides
access to the various parameters used to generate and draw the diagram. |
RendererModel |
IRenderer.getRenderer2DModel()
Returns the drawing model, giving access to drawing parameters.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
SymbolVisibility.visible(IAtom atom,
List<IBond> neighbors,
RendererModel model)
Determine if an atom with the specified bonds is visible.
|
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) |
ReactionSetRenderer(RendererModel rendererModel,
List<IGenerator<IAtomContainer>> generators,
List<IGenerator<IReaction>> reactionGenerators,
IFontManager fontManager) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
BasicAtomGenerator.canDraw(IAtom atom,
IAtomContainer container,
RendererModel model)
Checks an atom to see if it should be drawn.
|
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 |
HighlightGenerator.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
BasicBondGenerator.generateRingElements(IBond bond,
IRing ring,
RendererModel model)
Generate ring elements, such as inner-ring bonds or ring stereo elements.
|
IRenderingElement |
RingGenerator.generateRingElements(IBond bond,
IRing ring,
RendererModel model)
Generate ring elements, such as inner-ring bonds or ring stereo elements.
|
protected Color |
BasicAtomGenerator.getAtomColor(IAtom atom,
RendererModel model)
Returns the drawing color of the given atom.
|
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.
|
protected boolean |
BasicAtomGenerator.invisibleCarbon(IAtom atom,
IAtomContainer atomContainer,
RendererModel model)
Checks an atom to see if it is an 'invisible carbon' - that is, it is:
a) a carbon atom and b) this carbon should not be shown.
|
protected boolean |
BasicAtomGenerator.invisibleHydrogen(IAtom atom,
RendererModel model)
Checks an atom to see if it is an 'invisible hydrogen' - that is, it
is a) an (explicit) hydrogen, and b) explicit hydrogens are set to off.
|
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.
|
protected boolean |
BasicAtomGenerator.showCarbon(IAtom carbonAtom,
IAtomContainer container,
RendererModel model)
Checks a carbon atom to see if it should be shown.
|
Modifier and Type | Method and Description |
---|---|
IRenderingElement |
StandardGenerator.generate(IAtomContainer container,
RendererModel parameters)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
boolean |
SelectionVisibility.visible(IAtom atom,
List<IBond> neighbors,
RendererModel model)
Determine if an atom with the specified bonds is visible.
|
Modifier and Type | Method and Description |
---|---|
RendererModel |
AWTDrawVisitor.getRendererModel()
Returns the current
RendererModel . |
Modifier and Type | Method and Description |
---|---|
void |
AWTDrawVisitor.setRendererModel(RendererModel rendererModel)
Sets the
RendererModel this IDrawVisitor should use. |
void |
IDrawVisitor.setRendererModel(RendererModel rendererModel)
Sets the
RendererModel this IDrawVisitor should use. |
Copyright © 2021. All rights reserved.