Modifier and Type | Method and Description |
---|---|
protected void |
Depiction.svgPrevisit(String fmt,
double rescale,
org.openscience.cdk.depict.SvgDrawVisitor visitor,
List<? extends IRenderingElement> elements) |
Modifier and Type | Field and Description |
---|---|
protected IRenderingElement |
AbstractRenderer.cachedDiagram
Used when repainting an unchanged model.
|
Modifier and Type | Method and Description |
---|---|
IRenderingElement |
MoleculeSetRenderer.generateDiagram(IAtomContainerSet molecules)
The main method of the renderer, that uses each of the generators
to create a different set of
IRenderingElement s grouped
together into a tree. |
IRenderingElement |
ReactionRenderer.generateDiagram(IReaction reaction)
The main method of the renderer, that uses each of the generators
to create a different set of
IRenderingElement s grouped
together into a tree. |
IRenderingElement |
AbstractRenderer.generateDiagram(T object)
The main method of the renderer, that uses each of the generators
to create a different set of
IRenderingElement s grouped
together into a tree. |
IRenderingElement |
IRenderer.generateDiagram(T obj)
Internal method to generate the intermediate format.
|
Modifier and Type | Method and Description |
---|---|
Rectangle2D |
AbstractRenderer.getBounds(IRenderingElement element)
Given a rendering element, traverse the elements compute required bounds
to full display all elements.
|
protected void |
AbstractRenderer.paint(IDrawVisitor drawVisitor,
IRenderingElement diagram)
The target method for paintChemModel, paintReaction, and paintMolecule.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrowElement
IRenderingElement for linear arrows. |
class |
AtomMassSymbolElement
Rendering element that shows the
IAtom mass number information. |
class |
AtomSymbolElement
A text element with added information.
|
class |
Bounds
Defines a bounding box element which the renderer can use to determine the true
drawing limits.
|
class |
ElementGroup
A group of rendering elements, of any type.
|
class |
GeneralPath
A path of rendering elements from the elements.path package.
|
class |
LineElement
A line between two points.
|
class |
MarkedElement
A marked element adds meta-data (id and tags) to a CDK rendering
element (or group of elements).
|
class |
OvalElement
An oval element (should) have both a width and a height.
|
class |
PathElement
A path composed of points.
|
class |
RectangleElement
A rectangle, with width and height.
|
class |
RingElement
A ring is just a circle - in other words, an oval whose width and height are
the same.
|
class |
TextElement
Text element as used in the chemical drawing.
|
class |
TextGroupElement
A group of text elements, particularly the element symbol (eg: "C")
surrounded by other annotations such as mass number, charge, etc.
|
class |
WedgeLineElement
A 'wedge' is a triangle aligned along a bond that indicates stereochemistry.
|
Modifier and Type | Method and Description |
---|---|
IRenderingElement |
MarkedElement.element()
Access the element of which the id and classes apply.
|
IRenderingElement |
Bounds.root()
Access the root rendering element, it contains all
elements added to the bounds so far.
|
Modifier and Type | Method and Description |
---|---|
Iterator<IRenderingElement> |
ElementGroup.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
ElementGroup.add(IRenderingElement element)
Add a new element to the group.
|
void |
Bounds.add(IRenderingElement element)
Add the specified element bounds.
|
static MarkedElement |
MarkedElement.markup(IRenderingElement elem,
String... classes)
Markup a rendering element with the specified classes.
|
static MarkedElement |
MarkedElement.markupAtom(IRenderingElement elem,
IAtom atom)
Markup a atom with the class 'atom' and optionally the ids/classes
from it's properties.
|
static MarkedElement |
MarkedElement.markupBond(IRenderingElement elem,
IBond bond)
Markup a bond with the class 'bond' and optionally the ids/classes
from it's properties.
|
static MarkedElement |
MarkedElement.markupMol(IRenderingElement elem,
IAtomContainer mol)
Markup a molecule with the class 'mol' and optionally the ids/classes
from it's properties.
|
void |
IRenderingVisitor.visit(IRenderingElement element)
Translates a
IRenderingElement into a widget toolkit specific
rendering element. |
Constructor and Description |
---|
Bounds(IRenderingElement element)
An bounding box around the specified element.
|
Modifier and Type | Method and Description |
---|---|
IRenderingElement |
BasicAtomGenerator.generate(IAtomContainer atomContainer,
IAtom atom,
RendererModel model)
Generate the rendering element(s) for a particular atom.
|
IRenderingElement |
ExtendedAtomGenerator.generate(IAtomContainer container,
IAtom atom,
RendererModel model)
Generate the rendering element(s) for a particular atom.
|
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 |
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 |
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 |
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static IRenderingElement |
StandardGenerator.embedText(Font font,
String text,
Color color,
double scale)
Make an embedded text label for display in a CDK renderer.
|
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. |
Modifier and Type | Method and Description |
---|---|
void |
AWTDrawVisitor.visit(IRenderingElement element)
Translates a
IRenderingElement into a widget toolkit specific
rendering element. |
Copyright © 2017. All Rights Reserved.