concept update in category griffon

appears as: updates, n update, updates, update, The update, update
Griffon in Action

This is an excerpt from Manning's book Griffon in Action.

A BindingUpdatable object for a binding that isn’t currently bound isn’t totally useless. In addition to having its binding activated, the binding can also be manually fired via the update() method. When this method is called, the read and write portions of the binding are fired as if the trigger for the property change had caused their update to occur automatically. This is particularly useful when the unbind() method has been called or the binding was created with bind: false as an attribute. It’s worth remarking that the read is performed on the source and the write happens on the target.

The update() method also has a corresponding method, reverseUpdate(), that will, if possible, reverse the role of the read and the write methods and do the update in reverse. This method won’t work in all situations; in those cases, the reverse update will silently fail. In particular, this will happen if the binding is a closure binding or the source comes from a sourceValue closure. Principally this works with property-source bindings where the source property is writable.

It so happens that the majority of events posted to the event queue are paint requests; the rest deal with updates that may affect the UI state, possibly triggering another paint request as a byproduct. This means the EventQueue is busy properly updating the visuals of your application most of the time.