Data binding

An ORD (Object Resolution Descriptor) establishes the connection between a widget and an object. The ORD is the universal identifier used throughout the system. The ORD unifies and standardizes access to all information. Designed to combine different naming systems into a single string, it has the advantage of being parsable by a host of public APIs (Application Program Interfaces).
A single binding consists of a single widget-object relationship. A binding’s ORD property identifies the location of the object that updates and animates the widget.
Figure 35.   Widget data binding
Image

The screen capture shows a value binding to a text label widget as viewed in the Ord window of a binding.

The most common type of binding, the value binding, provides some of the typical functions that are associated with building real-time information for presentation as both text and graphics. This includes support for mouse-over and right-click actions. Additionally, it provides a mechanism to animate any property of its parent widget using converters that convert the target object into property values.
Figure 36.   Widget with three bindings
Image
The screen capture illustrates the object-to-widget property binding concept. In this example, a widget has three separate data bindings. This means that each binding is coming from a different object and, therefore, each binding has a different ORD that defines its binding. Each binding provides access to an object’s values so that they may be used, as required, to animate the widget properties.