Interface ICellData


@PublicAPI public interface ICellData
ICellData interface provides functionality to read/write cell data
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Assign(IMoleculeData structure)
    Assigns the structure to the cell and sets the molecule data and format
    void
    Assign(String data)
    Assigns the string content and string format to the cell
    Returns the format of the assigned data.
    Returns the ID assigned to the molecule content
    chemaxon.formats.documents.jchemoffice.DataType
    Returns the type of the assigned data (structure or text)
    Returns the data assigned to the cell (string or molecule data)
    void
    Sets the ID of the molecule content
  • Method Details

    • Assign

      void Assign(IMoleculeData structure)
      Assigns the structure to the cell and sets the molecule data and format
    • Assign

      void Assign(String data)
      Assigns the string content and string format to the cell
    • getValue

      Object getValue()
      Returns the data assigned to the cell (string or molecule data)
      Returns:
      assigned cell data
    • getType

      chemaxon.formats.documents.jchemoffice.DataType getType()
      Returns the type of the assigned data (structure or text)
      Returns:
      DataType
    • getFormat

      String getFormat()
      Returns the format of the assigned data. If data string than empty string otherwise the molecule format i.e.: mrv, smile, etc.
      Returns:
      cell format
    • getTag

      String getTag()
      Returns the ID assigned to the molecule content
      Returns:
      ID of the molecule
    • setTag

      void setTag(String tag)
      Sets the ID of the molecule content