Binding source contains all the persistent data that you need to access a source value for the binding. More...
#include <kanzi/core.ui/binding/binding_source.hpp>
Public Member Functions | |
BindingSourceRuntimePtr | createRuntime () |
Creates binding source runtime. More... | |
virtual | ~BindingSource () |
Destructor. More... | |
Protected Member Functions | |
BindingSource () | |
Constructor. More... | |
virtual BindingSourceRuntimePtr | createRuntimeOverride ()=0 |
Creates binding source runtime. More... | |
Binding source contains all the persistent data that you need to access a source value for the binding.
To implement specialized ways to get the values, use the specialized binding sources DataSourceBindingSource, ManualBindingSource, ObjectPropertyBindingSource, ValueBindingSource.
When an AbstractBindingRuntime is created for an AbstractBinding, a BindingSourceRuntime is created for the BindingSource in that binding. BindingSourceRuntime specifies the virtual functions required for the binding runtime to read values.
|
inlinevirtual |
Destructor.
|
inlineexplicitprotected |
Constructor.
BindingSourceRuntimePtr kanzi::BindingSource::createRuntime | ( | ) |
Creates binding source runtime.
|
protectedpure virtual |
Creates binding source runtime.
Implemented in kanzi::ExpressionBindingSource, kanzi::ObjectPropertyBindingSource, kanzi::ManualBindingSource, kanzi::DataSourceBindingSource, kanzi::VariableBindingSource, kanzi::RenderPropertyBindingSource, kanzi::MessageBindingSource, kanzi::ResourceBindingSource, and kanzi::ValueBindingSource.