Variable binding source. More...
#include <kanzi/core.ui/binding/variable_binding_source.hpp>
Public Member Functions | |
PropertyField | getPropertyField () const |
Gets the source property field. More... | |
AbstractPropertyType | getPropertyType () const |
Gets the source property type. More... | |
Public Member Functions inherited from kanzi::BindingSource | |
BindingSourceRuntimePtr | createRuntime () |
Creates binding source runtime. More... | |
virtual | ~BindingSource () |
Destructor. More... | |
Static Public Member Functions | |
static BindingSourcePtr | create (AbstractPropertyType propertyType, PropertyField field) |
Creates a variable binding source. More... | |
static BindingSourcePtr | create (AbstractPropertyType propertyType) |
Creates a variable binding source. More... | |
Protected Member Functions | |
BindingSourceRuntimePtr | createRuntimeOverride () override |
BindingSource::createRuntime implementation. More... | |
VariableBindingSource (AbstractPropertyType propertyType, PropertyField field) | |
Constructor. More... | |
Protected Member Functions inherited from kanzi::BindingSource | |
BindingSource () | |
Constructor. More... | |
Protected Attributes | |
PropertyField | m_field |
Source property field. More... | |
AbstractPropertyType | m_propertyType |
Source property type. More... | |
Variable binding source.
VariableBindingSource binds to a VariableBindingTargetRuntime in a context that holds variable binding targets. This mechanism is intended to allow bindings to be used in a binding host that is not a PropertyObject to avoid the overhead of PropertyObject interface. There is no property object to store the value to - the variable bound to is the exact VariableBindingTargetRuntime itself.
|
inlineprotected |
Constructor.
propertyType | Property type to listen to. |
field | Property field to read. |
|
static |
Creates a variable binding source.
propertyType | Property type to listen to. |
field | Property field to read. |
|
inlinestatic |
Creates a variable binding source.
Uses whole property value.
propertyType | Property type to listen to. |
|
inline |
Gets the source property type.
|
inline |
Gets the source property field.
|
overrideprotectedvirtual |
BindingSource::createRuntime implementation.
Implements kanzi::BindingSource.
|
protected |
Source property type.
|
protected |
Source property field.