Package io.keikaiex.formula
Class DependencyTrackerEx
- java.lang.Object
-
- io.keikai.model.impl.sys.formula.DependencyTrackerImpl
-
- io.keikaiex.formula.DependencyTrackerEx
-
- All Implemented Interfaces:
DependencyTracker
public class DependencyTrackerEx extends DependencyTrackerImpl
An EL Variable evaluator through POI dependency tracker and ignore POI dependency tracking- Author:
- Pao
-
-
Constructor Summary
Constructors Constructor Description DependencyTrackerEx()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDependency(OperationEvaluationContext ec, Ptg[] ptgs)
Construct formula reference dependencies.ValueEval
postProcessValueEval(OperationEvaluationContext ec, ValueEval opResult, boolean eval)
Callback when evaluating a formula cell.-
Methods inherited from class io.keikai.model.impl.sys.formula.DependencyTrackerImpl
clearIndirectRefPrecedent, clearOffsetRefPrecedent, setIndirectRefPrecedent, setOffsetRefPrecedent
-
-
-
-
Method Detail
-
postProcessValueEval
public ValueEval postProcessValueEval(OperationEvaluationContext ec, ValueEval opResult, boolean eval)
Description copied from interface:DependencyTracker
Callback when evaluating a formula cell.- Specified by:
postProcessValueEval
in interfaceDependencyTracker
- Overrides:
postProcessValueEval
in classDependencyTrackerImpl
- Parameters:
ec
- the evaluation context of the evaluated formula cell.opResult
- the precedent that might change the formula cell.eval
- whether this reference is an evaluated result(e.g. from INDIRECT() function(true), or directly specified in formula(false))- Returns:
- the ValueEval after the dependency checking
-
addDependency
public void addDependency(OperationEvaluationContext ec, Ptg[] ptgs)
Description copied from interface:DependencyTracker
Construct formula reference dependencies.- Specified by:
addDependency
in interfaceDependencyTracker
- Overrides:
addDependency
in classDependencyTrackerImpl
- Parameters:
ec
- the evaluation context of the evaluated formula cell.ptgs
- the precedent that might change the formula cell.
-
-