Interface IFragmentAtom

All Superinterfaces:
Cloneable, IAtom, IAtomType, ICDKObject, IChemObject, IElement, IIsotope, IPseudoAtom
All Known Implementing Classes:
DebugFragmentAtom, FragmentAtom, FragmentAtom

public interface IFragmentAtom extends IPseudoAtom
Class to represent an IPseudoAtom which embeds an IAtomContainer. Very much like the MDL molfile Group concept.
Author:
egonw
Source code:
main
Belongs to CDK module:
interfaces
  • Method Details

    • isExpanded

      boolean isExpanded()
      Helper method to indicate that the method should be drawn fully, and not just the abbreviated form.
      Returns:
      true, if it should be considered in expended form
    • setExpanded

      void setExpanded(boolean bool)
      Sets whether this atom is to be fully drawn and not just in the abbreviated form.
      Parameters:
      bool - true if the full structure should be drawn
    • getFragment

      IAtomContainer getFragment()
      Returns the fully expended form of the IFragmentAtom.
      Returns:
      the fully expanded form as an IAtomContainer object
    • setFragment

      void setFragment(IAtomContainer fragment)
      Sets the fully expended form of the IFragmentAtom.
      Parameters:
      fragment - The fragment