Cell
Overview
Cell is a class in Aspose.Cells FOSS for Java.
Represents a cell in a worksheet.
This class provides 10 methods for working with Cell objects in Java programs.
Available methods include: getDisplayStringValue, getFormula, getStringValue, getStyle, getType, getValue, putValue, setFormula, setStyle, setValue.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: displayStringValue, formula, stringValue, style, type, value.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
value | Object | Read | Returns the value. |
stringValue | String | Read | Returns the string value. |
displayStringValue | String | Read | Returns the display string value. |
formula | String | Read | Returns the formula. |
type | CellValueType | Read | Returns the type. |
style | Style | Read | Returns the style. |
Methods
| Signature | Description |
|---|---|
getValue() → Object | Returns the value. |
setValue(value: Object) | Sets the value. |
getStringValue() → String | Returns the string value. |
getDisplayStringValue() → String | Returns the display string value. |
getFormula() → String | Returns the formula. |
setFormula(value: String) | Sets the formula. |
getType() → CellValueType | Returns the type. |
putValue(value: String) | Stores the value. |
putValue(value: int) | Stores the value. |
putValue(value: double) | Stores the value. |
putValue(value: boolean) | Stores the value. |
putValue(value: java.time.LocalDateTime) | Stores the value. |
getStyle() → Style | Returns the style. |
setStyle(style: Style) | Sets the style. |