test_class.file: display/renderbasic/src/test/java/org/openscience/cdk/renderer/generators/standard/SelectionVisibilityTest.java
test_class.identifier: SelectionVisibilityTest
test_case.body: @Test
      public void highlightIsSelected() {
          IChemObject chemObject = mock(IChemObject.class);
          when(chemObject.getProperty(StandardGenerator.HIGHLIGHT_COLOR)).thenReturn(Color.RED);
          assertTrue(SelectionVisibility.isSelected(chemObject, new RendererModel()));
      }
test_case.class_method_signature: SelectionVisibilityTest.highlightIsSelected()
test_case.full_signature: @Test public void highlightIsSelected()
test_case.identifier: highlightIsSelected
test_case.invocations: mock thenReturn when getProperty assertTrue isSelected
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void highlightIsSelected()
focal_class.declarator: delegate
focal_class.modifier: private final
focal_class.original_string: private final SymbolVisibility delegate;
focal_class.type: SymbolVisibility
focal_class.var_name: delegate
focal_class.declarator: showAll
focal_class.modifier: private final
focal_class.original_string: private final boolean          showAll;
focal_class.type: boolean
focal_class.var_name: showAll
focal_class.file: display/renderbasic/src/main/java/org/openscience/cdk/renderer/generators/standard/SelectionVisibility.java
focal_class.identifier: SelectionVisibility
focal_class.class_method_signature: SelectionVisibility.SelectionVisibility(SymbolVisibility delegate, boolean showAll)
focal_class.full_signature: private  SelectionVisibility(SymbolVisibility delegate, boolean showAll)
focal_class.identifier: SelectionVisibility
focal_class.modifiers: private
focal_class.parameters: (SymbolVisibility delegate, boolean showAll)
focal_class.signature:  SelectionVisibility(SymbolVisibility delegate, boolean showAll)
focal_class.class_method_signature: SelectionVisibility.disconnected(SymbolVisibility visibility)
focal_class.full_signature: public static SymbolVisibility disconnected(SymbolVisibility visibility)
focal_class.identifier: disconnected
focal_class.modifiers: public static
focal_class.parameters: (SymbolVisibility visibility)
focal_class.return: SymbolVisibility
focal_class.signature: SymbolVisibility disconnected(SymbolVisibility visibility)
focal_class.class_method_signature: SelectionVisibility.all(SymbolVisibility visibility)
focal_class.full_signature: public static SymbolVisibility all(SymbolVisibility visibility)
focal_class.identifier: all
focal_class.modifiers: public static
focal_class.parameters: (SymbolVisibility visibility)
focal_class.return: SymbolVisibility
focal_class.signature: SymbolVisibility all(SymbolVisibility visibility)
focal_class.class_method_signature: SelectionVisibility.visible(IAtom atom, List<IBond> neighbors, RendererModel model)
focal_class.full_signature: @Override public boolean visible(IAtom atom, List<IBond> neighbors, RendererModel model)
focal_class.identifier: visible
focal_class.modifiers: @Override public
focal_class.parameters: (IAtom atom, List<IBond> neighbors, RendererModel model)
focal_class.return: boolean
focal_class.signature: boolean visible(IAtom atom, List<IBond> neighbors, RendererModel model)
focal_class.class_method_signature: SelectionVisibility.isSelected(IChemObject object, RendererModel model)
focal_class.full_signature: static boolean isSelected(IChemObject object, RendererModel model)
focal_class.identifier: isSelected
focal_class.modifiers: static
focal_class.parameters: (IChemObject object, RendererModel model)
focal_class.return: boolean
focal_class.signature: boolean isSelected(IChemObject object, RendererModel model)
focal_class.class_method_signature: SelectionVisibility.hasSelectedBond(List<IBond> bonds, RendererModel model)
focal_class.full_signature: static boolean hasSelectedBond(List<IBond> bonds, RendererModel model)
focal_class.identifier: hasSelectedBond
focal_class.modifiers: static
focal_class.parameters: (List<IBond> bonds, RendererModel model)
focal_class.return: boolean
focal_class.signature: boolean hasSelectedBond(List<IBond> bonds, RendererModel model)
focal_class.superclass: extends SymbolVisibility
focal_method.body: static boolean isSelected(IChemObject object, RendererModel model) {
          if (object.getProperty(StandardGenerator.HIGHLIGHT_COLOR) != null) return true;
          if (model.getSelection() != null) return model.getSelection().contains(object);
          return false;
      }
focal_method.class_method_signature: SelectionVisibility.isSelected(IChemObject object, RendererModel model)
focal_method.full_signature: static boolean isSelected(IChemObject object, RendererModel model)
focal_method.identifier: isSelected
focal_method.invocations: getProperty getSelection contains getSelection
focal_method.modifiers: static
focal_method.parameters: (IChemObject object, RendererModel model)
focal_method.return: boolean
focal_method.signature: boolean isSelected(IChemObject object, RendererModel model)