public class CellData extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CellData.CellType |
static class |
CellData.FormulaStrategy |
Modifier and Type | Field and Description |
---|---|
protected XlsArea |
area |
protected CellRef |
cellRef |
protected CellData.CellType |
cellType |
protected Object |
cellValue |
protected Object |
evaluationResult |
protected String |
formula |
static String |
JX_PARAMS_PREFIX |
protected CellData.CellType |
targetCellType |
Constructor and Description |
---|
CellData(CellRef cellRef) |
CellData(CellRef cellRef,
CellData.CellType cellType,
Object cellValue) |
CellData(String sheetName,
int row,
int col) |
CellData(String sheetName,
int row,
int col,
CellData.CellType cellType,
Object cellValue) |
public static final String JX_PARAMS_PREFIX
protected CellRef cellRef
protected Object cellValue
protected CellData.CellType cellType
protected String formula
protected Object evaluationResult
protected CellData.CellType targetCellType
protected XlsArea area
public CellData(CellRef cellRef)
public CellData(String sheetName, int row, int col, CellData.CellType cellType, Object cellValue)
public CellData(CellRef cellRef, CellData.CellType cellType, Object cellValue)
public CellData(String sheetName, int row, int col)
protected void updateFormulaValue()
public Transformer getTransformer()
public void setTransformer(Transformer transformer)
public XlsArea getArea()
public void setArea(XlsArea area)
public void setEvaluationResult(Object evaluationResult)
public CellData.FormulaStrategy getFormulaStrategy()
public void setFormulaStrategy(CellData.FormulaStrategy formulaStrategy)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public String getCellComment()
public void setCellComment(String cellComment)
protected boolean isJxlsParamsComment(String cellComment)
public String getSheetName()
public CellRef getCellRef()
public CellData.CellType getCellType()
public void setCellType(CellData.CellType cellType)
public Object getCellValue()
public int getRow()
public int getCol()
public String getFormula()
public void setFormula(String formula)
public boolean isFormulaCell()
public boolean isParameterizedFormulaCell()
public boolean isJointedFormulaCell()
public boolean addTargetPos(CellRef cellRef)
public void addTargetParentAreaRef(AreaRef areaRef)
public List<CellRef> getTargetPos()
public void resetTargetPos()
protected void processJxlsParams(String cellComment)
jx:params can be used e.g.
CellData.FormulaStrategy
via 'formulaStrategy' paramcellComment
- the comment stringCopyright © 2023. All rights reserved.