The update cycle is triggered whenever a user interacts with a control e.g. by changing its value.
Likewise this can be triggered by Actions being triggered by some state event like e.g. value-changed
event.
<fx-setvalue>
action to change
its valuechanged
array in the ModelactionPerformed()
.rebuild()
as the Main Dependency Graph needs
to be reconstructed.recalculate
will re-compute all calculations for
the changed nodes by creating a subgraph of the MDG that will only contain the affected ModelItems.toRefresh[]
to the Fore object.refresh()
is called on Fore object that will use the toRefresh
array of changed ModelItems to selectively update
only affected controls. This will also incorporate controls that are dependent on the changed one by using the MDG.refresh-done
event is emittedaction-performed
event is emitted