public class DependencyTrackerImpl extends Object implements DependencyTracker
Constructor and Description |
---|
DependencyTrackerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(OperationEvaluationContext ec,
Ptg[] ptgs)
Construct formula reference dependencies.
|
void |
clearIndirectRefPrecedent(OperationEvaluationContext ec)
Clear precedent for a
IndirectRef |
ValueEval |
postProcessValueEval(OperationEvaluationContext ec,
ValueEval opResult,
boolean eval)
Callback when evaluating a formula cell.
|
void |
setIndirectRefPrecedent(OperationEvaluationContext ec,
ValueEval preRef)
Sets precedent for a
IndirectRef |
public ValueEval postProcessValueEval(OperationEvaluationContext ec, ValueEval opResult, boolean eval)
DependencyTracker
postProcessValueEval
in interface DependencyTracker
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))public void addDependency(OperationEvaluationContext ec, Ptg[] ptgs)
DependencyTracker
addDependency
in interface DependencyTracker
ec
- the evaluation context of the evaluated formula cell.ptgs
- the precedent that might change the formula cell.public void clearIndirectRefPrecedent(OperationEvaluationContext ec)
DependencyTracker
IndirectRef
clearIndirectRefPrecedent
in interface DependencyTracker
public void setIndirectRefPrecedent(OperationEvaluationContext ec, ValueEval preRef)
DependencyTracker
IndirectRef
setIndirectRefPrecedent
in interface DependencyTracker
Copyright © 2020. All rights reserved.