@TestClass(value="org.openscience.cdk.renderer.generators.RingGeneratorTest") public class RingGenerator extends BasicBondGenerator
| Modifier and Type | Class and Description |
|---|---|
static class |
RingGenerator.CDKStyleAromaticity
Depicts aromaticity of rings in the original CDK style.
|
static class |
RingGenerator.RingProportion
The proportion of a ring bounds to use to draw the ring.
|
static class |
RingGenerator.ShowAromaticity
Determines whether rings should be drawn with a circle if they are
aromatic.
|
BasicBondGenerator.BondDistance, BasicBondGenerator.BondLength, BasicBondGenerator.BondWidth, BasicBondGenerator.DefaultBondColor, BasicBondGenerator.TowardsRingCenterProportion, BasicBondGenerator.WedgeWidth| Constructor and Description |
|---|
RingGenerator()
Make a generator for ring elements.
|
| Modifier and Type | Method and Description |
|---|---|
IRenderingElement |
generateRingElements(IBond bond,
IRing ring,
RendererModel model)
Generate ring elements, such as inner-ring bonds or ring stereo elements.
|
List<IGeneratorParameter<?>> |
getParameters()
Returns the list of
IGeneratorParameter for this particular
generator. |
generate, generate, generateBond, generateBondElement, generateBondElement, generateInnerElement, getColorForBond, getWidthForBond, setOverrideBondWidth, setOverrideColorpublic IRenderingElement generateRingElements(IBond bond, IRing ring, RendererModel model)
generateRingElements in class BasicBondGeneratorbond - the ring bond to use when generating elementsring - the ring that the bond is inmodel - the renderer model@TestMethod(value="testGetParameters") public List<IGeneratorParameter<?>> getParameters()
IGeneratorParameter for this particular
generator.getParameters in interface IGenerator<IAtomContainer>getParameters in class BasicBondGeneratorList of IGeneratorParameters