Class MoleculeMap

java.lang.Object
chemaxon.formats.documents.jchemoffice.MoleculeMap

@PublicAPI public class MoleculeMap extends Object
MoleculeMap class stores the Molecule related information. i.e. IMoleculeData, location, Drawing Settings etc..
  • Field Details

    • Empty

      public static final MoleculeMap Empty
      The static Empty method instantiates a MoleculeMap class with Empty MoleculeData content
  • Constructor Details

    • MoleculeMap

      public MoleculeMap(IMoleculeData moleculeData, Location location)
      The constructor of the MoleculeMap class
      Parameters:
      moleculeData - - The MoleculeData content
      location - - The Location of the MoleculeData in the Document
    • MoleculeMap

      public MoleculeMap(IMoleculeData moleculeData, Location location, String imageRenderingSettings)
      The constructor of the MoleculeMap class
      Parameters:
      moleculeData - - The MoleculeData content
      location - - The Location of the MoleculeData in the Document
      imageRenderingSettings - - The rendering settings of the Molecule image in ChemAxon string literal format
    • MoleculeMap

      public MoleculeMap(IMoleculeData moleculeData, Location location, String imageRenderingSettings, String version)
      The constructor of the MoleculeMap class
      Parameters:
      moleculeData - - The MoleculeData content
      location - - The Location of the MoleculeData in the Document
      imageRenderingSettings - - The rendering settings of the Molecule image in ChemAxon string literal format
      version - - JCO office version number.
  • Method Details

    • getMoleculeData

      public IMoleculeData getMoleculeData()
      Returns the molecule data content of the MoleculeMap
      Returns:
      IMoleculeData
    • getLocation

      public Location getLocation()
      Returns the location of the Molecule Data inside the Document
      Returns:
      Location
    • getImageRenderingSettings

      public String getImageRenderingSettings()
      Returns the rendering settings of the Molecule image in ChemAxon string literal format
      Returns:
      String
    • getVersion

      public String getVersion()
    • IsEmpty

      public boolean IsEmpty()
      Checks if the MoleculeMap object is empty or not
      Returns:
      true if it is an empty MoleculeMap or false if it is not