public interface DependencyTable
getDependents(Ref)
of B to create notification of A
When A been clear or deleted, should call clearDependents(Ref)
of A to clear tracking data
For example, in A1
=SUM(B1 + C1)
when edit B1 (precedent), its dependents is A1Modifier and Type | Interface and Description |
---|---|
static interface |
DependencyTable.RefFilter |
Modifier and Type | Method and Description |
---|---|
void |
add(Ref dependent,
Ref precedent) |
void |
clearDependents(Ref dependant) |
void |
del(Ref dependent,
Ref precedent) |
Set<Ref> |
getDependents(Ref precedent) |
Set<Ref> |
getDirectDependents(Ref precedent) |
Set<Ref> |
getEvaluatedDependents(Ref precedent) |
Set<Ref> |
searchPrecedents(DependencyTable.RefFilter filter) |
void |
setEvaluated(Ref dependent) |
void setEvaluated(Ref dependent)
void clearDependents(Ref dependant)
Set<Ref> searchPrecedents(DependencyTable.RefFilter filter)
Copyright © 2020. All rights reserved.