public abstract class AbstractCalculationMonitor
Property Getters/Setters Summary | ||
---|---|---|
java.lang.Object | getCalculatedValue() | |
Gets the newly calculated value of the cell.
Should be used only in |
||
java.lang.Object | getOriginalValue() | |
Gets the old value of the calculated cell.
Should be used only in |
||
boolean | getValueChanged() | |
Whether the cell's value has been changed after the calculation.
Should be used only in |
Method Summary | ||
---|---|---|
void | afterCalculate(int sheetIndex, int rowIndex, int colIndex) | |
Implement this method to do business after one cell has been calculated.
|
||
void | beforeCalculate(int sheetIndex, int rowIndex, int colIndex) | |
Implement this method to do business before calculating one cell.
|
||
boolean | onCircular(java.util.Iterator circularCellsData) | |
Implement this method to do business when calculating one cell and circular references being encountered
|
public java.lang.Object getOriginalValue()
public boolean getValueChanged()
public java.lang.Object getCalculatedValue()
public void beforeCalculate(int sheetIndex, int rowIndex, int colIndex)
sheetIndex
- Index of the sheet that the cell belongs to.rowIndex
- Row index of the cellcolIndex
- Column index of the cellpublic void afterCalculate(int sheetIndex, int rowIndex, int colIndex)
sheetIndex
- Index of the sheet that the cell belongs to.rowIndex
- Row index of the cellcolIndex
- Column index of the cellpublic boolean onCircular(java.util.Iterator circularCellsData)
circularCellsData
- IEnumerator to enumerate cells(represented by CalculationCell object) in the circular chain