Record Class SpreadsheetCellModel
java.lang.Object
java.lang.Record
org.exoplatform.onlyoffice.mcp.model.SpreadsheetCellModel
- Record Components:
ref- the cell position, in A1 notationvalue- the cell value: a number, a boolean, a text, a date as ISO-8601, or an error code; for a formula, its value when the file was last savedtext- the value as the spreadsheet displays it, when it differs from the valueformula- the cell formula, starting with '=', null for none
-
Constructor Summary
ConstructorsConstructorDescriptionSpreadsheetCellModel(String ref, Object value, String text, String formula) Creates an instance of aSpreadsheetCellModelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.formula()Returns the value of theformularecord component.final inthashCode()Returns a hash code value for this object.ref()Returns the value of therefrecord component.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
ref
-
value
-
text
-
formula
-