Class ReferenceDependencyGraph


  • public class ReferenceDependencyGraph
    extends java.lang.Object
    Encapsulates the logic used to start up all bindings in a view and its components. Rather than start up bindings all at once in somewhat random order, we inspect the dependencies between bindings, creating a dependency graph. This way, we can start bindings up in such a way that other properties they rely on have already gotten their initial value from their bindings, reducing startup thrash of invalid values.
    • Constructor Detail

      • ReferenceDependencyGraph

        public ReferenceDependencyGraph​(ViewModel view)
    • Method Detail

      • resolveReferences

        public void resolveReferences()
      • startupBindings

        public void startupBindings()