code: @Override
      public void removeAllElements() {
          removeAllElectronContainers();
          for (int f = 0; f < getAtomCount(); f++) {
              getAtom(f).removeListener(this);
          }
          atoms = new IAtom[growArraySize];
          atomCount = 0;
          stereoElements.clear();
          notifyChanged();
      }
docs: {@inheritDoc}