Constant value as binding source. More...
#include <kanzi/core.ui/binding/value_binding_source.hpp>
Public Member Functions | |
Variant | getValue () const |
Gets the value. 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 (Variant value) |
Creates a manual binding source. More... | |
template<typename T > | |
static BindingSourcePtr | create (T value) |
Creates a value binding source over some specific value. More... | |
Protected Member Functions | |
BindingSourceRuntimePtr | createRuntimeOverride () override |
BindingSource::createRuntime implementation. More... | |
ValueBindingSource (Variant value) | |
Constructor. More... | |
Protected Member Functions inherited from kanzi::BindingSource | |
BindingSource () | |
Constructor. More... | |
Protected Attributes | |
Variant | m_value |
Fixed value. More... | |
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.