Class MoleculeMap
java.lang.Object
chemaxon.formats.documents.jchemoffice.MoleculeMap
MoleculeMap class stores the Molecule related information. i.e.
IMoleculeData, location, Drawing Settings etc..
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MoleculeMap
The staticEmpty
method instantiates a MoleculeMap class with Empty MoleculeData content -
Constructor Summary
ConstructorsConstructorDescriptionMoleculeMap
(IMoleculeData moleculeData, Location location) The constructor of the MoleculeMap classMoleculeMap
(IMoleculeData moleculeData, Location location, String imageRenderingSettings) The constructor of the MoleculeMap classMoleculeMap
(IMoleculeData moleculeData, Location location, String imageRenderingSettings, String version) The constructor of the MoleculeMap class -
Method Summary
Modifier and TypeMethodDescriptionReturns the rendering settings of the Molecule image in ChemAxon string literal formatReturns the location of the Molecule Data inside the DocumentReturns the molecule data content of the MoleculeMapboolean
IsEmpty()
Checks if the MoleculeMap object is empty or not
-
Field Details
-
Empty
The staticEmpty
method instantiates a MoleculeMap class with Empty MoleculeData content
-
-
Constructor Details
-
MoleculeMap
The constructor of the MoleculeMap class- Parameters:
moleculeData
- - The MoleculeData contentlocation
- - The Location of the MoleculeData in the Document
-
MoleculeMap
The constructor of the MoleculeMap class- Parameters:
moleculeData
- - The MoleculeData contentlocation
- - The Location of the MoleculeData in the DocumentimageRenderingSettings
- - 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 contentlocation
- - The Location of the MoleculeData in the DocumentimageRenderingSettings
- - The rendering settings of the Molecule image in ChemAxon string literal formatversion
- - JCO office version number.
-
-
Method Details
-
getMoleculeData
Returns the molecule data content of the MoleculeMap- Returns:
- IMoleculeData
-
getLocation
Returns the location of the Molecule Data inside the Document- Returns:
- Location
-
getImageRenderingSettings
Returns the rendering settings of the Molecule image in ChemAxon string literal format- Returns:
- 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
-