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)
DependencyTrackerpostProcessValueEval in interface DependencyTrackerec - 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)
DependencyTrackeraddDependency in interface DependencyTrackerec - the evaluation context of the evaluated formula cell.ptgs - the precedent that might change the formula cell.public void clearIndirectRefPrecedent(OperationEvaluationContext ec)
DependencyTrackerIndirectRefclearIndirectRefPrecedent in interface DependencyTrackerpublic void setIndirectRefPrecedent(OperationEvaluationContext ec, ValueEval preRef)
DependencyTrackerIndirectRefsetIndirectRefPrecedent in interface DependencyTrackerCopyright © 2020. All rights reserved.