Interface ICellData
ICellData interface provides functionality to read/write cell data
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Assign
(IMoleculeData structure) Assigns the structure to the cell and sets the molecule data and formatvoid
Assigns the string content and string format to the cellReturns the format of the assigned data.getTag()
Returns the ID assigned to the molecule contentgetType()
Returns the type of the assigned data (structure or text)getValue()
Returns the data assigned to the cell (string or molecule data)void
Sets the ID of the molecule content
-
Method Details
-
Assign
Assigns the structure to the cell and sets the molecule data and format -
Assign
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
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
Sets the ID of the molecule content
-