interface Tinman.Engine.GUI.IUpdateableGui

Base interface for classes that provide a GUI and a standard mechanism for updating it according to the current data model values.

Public / Methods


public method UpdateGui → (1)

valuesOnly in : bool

true to update values in the existing GUI structure,
false to rebuild the GUI structure before updating values.

Updates GUI components, according to current values in the data model.

Implementing method are expected to be fail-safe, i.e. their behaviour is well-defined, even if there is not GUI or the data model is empty. Thus, the UpdateGui method may be called at any time.

This method may be called repeatedly when valuesOnly in is true. Implementing methods are expected to perform efficient in this case.