}
public boolean editable() {
- if (cell.content == null || cell.content instanceof SpreadsheetFormula || cell.content instanceof SpreadsheetSCLConstant)
+ if (cell.getContent() == null || cell.getContent() instanceof SpreadsheetFormula || cell.getContent() instanceof SpreadsheetSCLConstant)
return false;
- if (cell.content instanceof String) {
- String content = (String) cell.content;
+ if (cell.getContent() instanceof String) {
+ String content = (String) cell.getContent();
if (content.isEmpty())
return false;
}
- if (cell.content instanceof Variant) {
- Variant content = (Variant) cell.content;
+ if (cell.getContent() instanceof Variant) {
+ Variant content = (Variant) cell.getContent();
if (content.getValue() == null)
return false;
if (content.getValue() instanceof String) {