Constant value as binding source. More...
#include <kanzi/core.ui/binding/value_binding_source.hpp>
Public Member Functions | |
Variant | getValue () const |
Gets the value. | |
Public Member Functions inherited from kanzi::BindingSource | |
BindingSourceRuntimePtr | createRuntime () |
Creates binding source runtime. | |
virtual | ~BindingSource () |
Destructor. | |
Static Public Member Functions | |
template<typename T > | |
static BindingSourcePtr | create (T value) |
Creates a value binding source over some specific value. | |
static BindingSourcePtr | create (Variant value) |
Creates a manual binding source. | |
Protected Member Functions | |
BindingSourceRuntimePtr | createRuntimeOverride () override |
BindingSource::createRuntime implementation. | |
ValueBindingSource (Variant value) | |
Constructor. | |
Protected Member Functions inherited from kanzi::BindingSource | |
BindingSource () | |
Constructor. | |
Protected Attributes | |
Variant | m_value |
Fixed value. | |
Constant value as binding source.
Has no specific attach or detach. Always returns a fixed value.
|
inlineexplicitprotected |
Constructor.
value | Value to create with. |
|
static |
Creates a manual binding source.
value | Value to create with. |
|
inlinestatic |
Creates a value binding source over some specific value.
value | Value to create with. |
|
inline |
Gets the value.
|
overrideprotectedvirtual |
BindingSource::createRuntime implementation.
Implements kanzi::BindingSource.
|
protected |
Fixed value.