test_class.declarator: generator
test_class.modifier: private
test_class.original_string: private BasicAtomGenerator generator;
test_class.type: BasicAtomGenerator
test_class.var_name: generator
test_class.file: display/renderbasic/src/test/java/org/openscience/cdk/renderer/generators/BasicAtomGeneratorTest.java
test_class.identifier: BasicAtomGeneratorTest
test_class.superclass: extends AbstractGeneratorTest
test_case.body: @Test
      public void showCarbon_ConnectedSingleElectrons() {
          IAtomContainer atomContainer = super.makeCCC();
          IAtom carbon = atomContainer.getAtom(1);
          atomContainer.addSingleElectron(1);
          Assert.assertTrue(generator.showCarbon(carbon, atomContainer, model));
      }
test_case.class_method_signature: BasicAtomGeneratorTest.showCarbon_ConnectedSingleElectrons()
test_case.full_signature: @Test public void showCarbon_ConnectedSingleElectrons()
test_case.identifier: showCarbon_ConnectedSingleElectrons
test_case.invocations: makeCCC getAtom addSingleElectron assertTrue showCarbon
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void showCarbon_ConnectedSingleElectrons()
focal_class.declarator: atomColor = new AtomColor()
focal_class.modifier: private
focal_class.original_string: private IGeneratorParameter<Color> atomColor = new AtomColor();
focal_class.type: IGeneratorParameter<Color>
focal_class.var_name: atomColor
focal_class.declarator: atomColorer = new AtomColorer()
focal_class.modifier: private
focal_class.original_string: private IGeneratorParameter<IAtomColorer> atomColorer = new AtomColorer();
focal_class.type: IGeneratorParameter<IAtomColorer>
focal_class.var_name: atomColorer
focal_class.declarator: colorByType = new ColorByType()
focal_class.modifier: private
focal_class.original_string: private IGeneratorParameter<Boolean> colorByType = new ColorByType();
focal_class.type: IGeneratorParameter<Boolean>
focal_class.var_name: colorByType
focal_class.declarator: showExplicitHydrogens = new ShowExplicitHydrogens()
focal_class.modifier: private
focal_class.original_string: private IGeneratorParameter<Boolean> showExplicitHydrogens = new ShowExplicitHydrogens();
focal_class.type: IGeneratorParameter<Boolean>
focal_class.var_name: showExplicitHydrogens
focal_class.declarator: atomRadius = new AtomRadius()
focal_class.modifier: private
focal_class.original_string: private IGeneratorParameter<Double> atomRadius = new AtomRadius();
focal_class.type: IGeneratorParameter<Double>
focal_class.var_name: atomRadius
focal_class.declarator: isCompact = new CompactAtom()
focal_class.modifier: private
focal_class.original_string: private IGeneratorParameter<Boolean> isCompact = new CompactAtom();
focal_class.type: IGeneratorParameter<Boolean>
focal_class.var_name: isCompact
focal_class.declarator: isKekule = new KekuleStructure()
focal_class.modifier: private
focal_class.original_string: private IGeneratorParameter<Boolean> isKekule = new KekuleStructure();
focal_class.type: IGeneratorParameter<Boolean>
focal_class.var_name: isKekule
focal_class.declarator: compactShape = new CompactShape()
focal_class.modifier: private
focal_class.original_string: private IGeneratorParameter<Shape> compactShape = new CompactShape();
focal_class.type: IGeneratorParameter<Shape>
focal_class.var_name: compactShape
focal_class.declarator: showEndCarbons = new ShowEndCarbons()
focal_class.modifier: private
focal_class.original_string: private IGeneratorParameter<Boolean> showEndCarbons = new ShowEndCarbons();
focal_class.type: IGeneratorParameter<Boolean>
focal_class.var_name: showEndCarbons
focal_class.file: display/renderbasic/src/main/java/org/openscience/cdk/renderer/generators/BasicAtomGenerator.java
focal_class.identifier: BasicAtomGenerator
focal_class.interfaces: implements IGenerator<IAtomContainer>
focal_class.class_method_signature: BasicAtomGenerator.BasicAtomGenerator()
focal_class.full_signature: public  BasicAtomGenerator()
focal_class.identifier: BasicAtomGenerator
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  BasicAtomGenerator()
focal_class.class_method_signature: BasicAtomGenerator.generate(IAtomContainer container, RendererModel model)
focal_class.full_signature: @Override public IRenderingElement generate(IAtomContainer container, RendererModel model)
focal_class.identifier: generate
focal_class.modifiers: @Override public
focal_class.parameters: (IAtomContainer container, RendererModel model)
focal_class.return: IRenderingElement
focal_class.signature: IRenderingElement generate(IAtomContainer container, RendererModel model)
focal_class.class_method_signature: BasicAtomGenerator.hasCoordinates(IAtom atom)
focal_class.full_signature: protected boolean hasCoordinates(IAtom atom)
focal_class.identifier: hasCoordinates
focal_class.modifiers: protected
focal_class.parameters: (IAtom atom)
focal_class.return: boolean
focal_class.signature: boolean hasCoordinates(IAtom atom)
focal_class.class_method_signature: BasicAtomGenerator.isHydrogen(IAtom atom)
focal_class.full_signature: protected boolean isHydrogen(IAtom atom)
focal_class.identifier: isHydrogen
focal_class.modifiers: protected
focal_class.parameters: (IAtom atom)
focal_class.return: boolean
focal_class.signature: boolean isHydrogen(IAtom atom)
focal_class.class_method_signature: BasicAtomGenerator.isCarbon(IAtom atom)
focal_class.full_signature: private boolean isCarbon(IAtom atom)
focal_class.identifier: isCarbon
focal_class.modifiers: private
focal_class.parameters: (IAtom atom)
focal_class.return: boolean
focal_class.signature: boolean isCarbon(IAtom atom)
focal_class.class_method_signature: BasicAtomGenerator.invisibleHydrogen(IAtom atom, RendererModel model)
focal_class.full_signature: protected boolean invisibleHydrogen(IAtom atom, RendererModel model)
focal_class.identifier: invisibleHydrogen
focal_class.modifiers: protected
focal_class.parameters: (IAtom atom, RendererModel model)
focal_class.return: boolean
focal_class.signature: boolean invisibleHydrogen(IAtom atom, RendererModel model)
focal_class.class_method_signature: BasicAtomGenerator.invisibleCarbon(IAtom atom, IAtomContainer atomContainer, RendererModel model)
focal_class.full_signature: protected boolean invisibleCarbon(IAtom atom, IAtomContainer atomContainer, RendererModel model)
focal_class.identifier: invisibleCarbon
focal_class.modifiers: protected
focal_class.parameters: (IAtom atom, IAtomContainer atomContainer, RendererModel model)
focal_class.return: boolean
focal_class.signature: boolean invisibleCarbon(IAtom atom, IAtomContainer atomContainer, RendererModel model)
focal_class.class_method_signature: BasicAtomGenerator.canDraw(IAtom atom, IAtomContainer container, RendererModel model)
focal_class.full_signature: protected boolean canDraw(IAtom atom, IAtomContainer container, RendererModel model)
focal_class.identifier: canDraw
focal_class.modifiers: protected
focal_class.parameters: (IAtom atom, IAtomContainer container, RendererModel model)
focal_class.return: boolean
focal_class.signature: boolean canDraw(IAtom atom, IAtomContainer container, RendererModel model)
focal_class.class_method_signature: BasicAtomGenerator.generate(IAtomContainer atomContainer, IAtom atom, RendererModel model)
focal_class.full_signature: public IRenderingElement generate(IAtomContainer atomContainer, IAtom atom, RendererModel model)
focal_class.identifier: generate
focal_class.modifiers: public
focal_class.parameters: (IAtomContainer atomContainer, IAtom atom, RendererModel model)
focal_class.return: IRenderingElement
focal_class.signature: IRenderingElement generate(IAtomContainer atomContainer, IAtom atom, RendererModel model)
focal_class.class_method_signature: BasicAtomGenerator.generateCompactElement(IAtom atom, RendererModel model)
focal_class.full_signature: public IRenderingElement generateCompactElement(IAtom atom, RendererModel model)
focal_class.identifier: generateCompactElement
focal_class.modifiers: public
focal_class.parameters: (IAtom atom, RendererModel model)
focal_class.return: IRenderingElement
focal_class.signature: IRenderingElement generateCompactElement(IAtom atom, RendererModel model)
focal_class.class_method_signature: BasicAtomGenerator.generateElement(IAtom atom, int alignment, RendererModel model)
focal_class.full_signature: public AtomSymbolElement generateElement(IAtom atom, int alignment, RendererModel model)
focal_class.identifier: generateElement
focal_class.modifiers: public
focal_class.parameters: (IAtom atom, int alignment, RendererModel model)
focal_class.return: AtomSymbolElement
focal_class.signature: AtomSymbolElement generateElement(IAtom atom, int alignment, RendererModel model)
focal_class.class_method_signature: BasicAtomGenerator.showCarbon(IAtom carbonAtom, IAtomContainer container, RendererModel model)
focal_class.full_signature: protected boolean showCarbon(IAtom carbonAtom, IAtomContainer container, RendererModel model)
focal_class.identifier: showCarbon
focal_class.modifiers: protected
focal_class.parameters: (IAtom carbonAtom, IAtomContainer container, RendererModel model)
focal_class.return: boolean
focal_class.signature: boolean showCarbon(IAtom carbonAtom, IAtomContainer container, RendererModel model)
focal_class.class_method_signature: BasicAtomGenerator.getAtomColor(IAtom atom, RendererModel model)
focal_class.full_signature: protected Color getAtomColor(IAtom atom, RendererModel model)
focal_class.identifier: getAtomColor
focal_class.modifiers: protected
focal_class.parameters: (IAtom atom, RendererModel model)
focal_class.return: Color
focal_class.signature: Color getAtomColor(IAtom atom, RendererModel model)
focal_class.class_method_signature: BasicAtomGenerator.getParameters()
focal_class.full_signature: @Override public List<IGeneratorParameter<?>> getParameters()
focal_class.identifier: getParameters
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<IGeneratorParameter<?>>
focal_class.signature: List<IGeneratorParameter<?>> getParameters()
focal_method.body: protected boolean showCarbon(IAtom carbonAtom, IAtomContainer container, RendererModel model) {
  
          if ((Boolean) model.get(KekuleStructure.class)) return true;
  
          if (carbonAtom.getFormalCharge() != 0) return true;
  
          int connectedBondCount = container.getConnectedBondsList(carbonAtom).size();
  
          if (connectedBondCount < 1) return true;
  
          if ((Boolean) model.get(ShowEndCarbons.class) && connectedBondCount == 1) return true;
  
          if (carbonAtom.getProperty(ProblemMarker.ERROR_MARKER) != null) return true;
  
          if (container.getConnectedSingleElectronsCount(carbonAtom) > 0) return true;
  
          return false;
      }
focal_method.class_method_signature: BasicAtomGenerator.showCarbon(IAtom carbonAtom, IAtomContainer container, RendererModel model)
focal_method.full_signature: protected boolean showCarbon(IAtom carbonAtom, IAtomContainer container, RendererModel model)
focal_method.identifier: showCarbon
focal_method.invocations: get getFormalCharge size getConnectedBondsList get getProperty getConnectedSingleElectronsCount
focal_method.modifiers: protected
focal_method.parameters: (IAtom carbonAtom, IAtomContainer container, RendererModel model)
focal_method.return: boolean
focal_method.signature: boolean showCarbon(IAtom carbonAtom, IAtomContainer container, RendererModel model)