Class StandardGenerator.ForceDelocalisedBondDisplay

java.lang.Object
org.openscience.cdk.renderer.generators.parameter.AbstractGeneratorParameter<Boolean>
org.openscience.cdk.renderer.generators.standard.StandardGenerator.ForceDelocalisedBondDisplay
All Implemented Interfaces:
IGeneratorParameter<Boolean>
Enclosing class:
StandardGenerator

public static final class StandardGenerator.ForceDelocalisedBondDisplay extends AbstractGeneratorParameter<Boolean>
Indicate delocalised/aromatic bonds should always be rendered, even when there is a valid Kekule structure. Delocalised bonds will either be rendered as a dashed bond to the side or as a circle/donut/life buoy inside small rings. This depiction is used by default when a bond does not have an order assigned (e.g. null/unset), for example: c1cccc1. Turning this option on means all delocalised bonds will be rendered this way even when they have bond orders correctly assigned: e.g. c1ccccc1, [cH-]1cccc1.
As recommended by IUPAC, their usage is discouraged and the Kekule representation is more clear.
  • Constructor Details

    • ForceDelocalisedBondDisplay

      public ForceDelocalisedBondDisplay()
  • Method Details

    • getDefault

      public Boolean getDefault()
      Gets the default value for this parameter. This value is set by the parameter class and cannot be changed.
      Returns:
      the default value for this parameter