Bound property
In computer programming, a bound property of an object (such as a widget) is a property which transmits notification of any changes to an adapter or event handler.[1][2][3] A simple (and typical) example is the text property of a textbox control. Changes made by an end user can be monitored, and perhaps corrected by a verification routine.
A bound property of an object is one which has been bound to a semantic context and changes in its state may potentially affect the wider scope (beyond the owning object itself) and thus beyond simply managing the access to the property, we also need to provide means of updating the wider context of the changes in the property.
For example, in GUI frameworks which employ the MVC pattern, there is an intrinsic and explicit set of objects, (the model, the view, and the controller,) that together support the abstraction of a 'visual user interface component': changes made in the model (typically through another process) must be reflected in the GUI (by the view); and changes made by user through the GUI (thus the 'View') need to be reflected in the model; and the interaction is managed by the controller (which is typically the extension point of the GUI framework). Here, the various properties of the model (typically the value of the data element backing the GUI representation) are of interest to other objects in the 'binding context' of the model's properties: the model is the 'bound property' of the GUI widget and the binding context is the widget itself, and the interested observer is the controller. By exposing a standard bound property interface, the model allows for the controller to register interest in the model's value property.
See also[edit]
References[edit]
- ↑ Flanagan, David (2005). Java in a Nutshell. O'Reilly Media, Inc. pp. 322–323. ISBN 9780596007737. Search this book on
- ↑ Phillips, Dusty (2014-04-09). Creating Apps in Kivy: Mobile with Python. O'Reilly Media, Inc. p. 25. ISBN 9781491947364. Search this book on
- ↑ "Bound Properties". www.math.uni-hamburg.de. Retrieved 2017-12-15.
This article "Bound property" is from Wikipedia. The list of its authors can be seen in its historical. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.