Object Property expression value source. More...
#include <kanzi/core.ui/binding/object_property_expression_value_source.hpp>
Public Member Functions | |
string | getPath () const |
Gets the source object path. More... | |
PropertyField | getPropertyField () const |
Gets the source property field. More... | |
AbstractPropertyType | getPropertyType () const |
Gets the source property type. More... | |
Public Member Functions inherited from kanzi::AbstractExpressionValueSource | |
BindingSourcePtr | convertToBindingSource () |
Converts this expression value source to a matching binding source. More... | |
AbstractExpressionValueSourceRuntimePtr | createRuntime (ExpressionBindingSourceRuntime &host) |
Creates a runtime for this expression value source. More... | |
virtual | ~AbstractExpressionValueSource () |
Destructor. More... | |
Static Public Member Functions | |
static ObjectPropertyExpressionValueSourceSharedPtr | create (string_view path, AbstractPropertyType propertyType, PropertyField field) |
Creates an object property expression value source. More... | |
static ObjectPropertyExpressionValueSourceSharedPtr | create (string_view path, AbstractPropertyType propertyType) |
Creates an object property expression value source. More... | |
Protected Member Functions | |
BindingSourcePtr | convertToBindingSourceOverride () override |
AbstractExpressionValueSource::convertToBindingSourceOverride() implementation. More... | |
AbstractExpressionValueSourceRuntimePtr | createRuntimeOverride (ExpressionBindingSourceRuntime &host) override |
AbstractExpressionValueSource::createRuntimeOverride() implementation. More... | |
ObjectPropertyExpressionValueSource (string_view path, AbstractPropertyType propertyType, PropertyField field) | |
Constructor. More... | |
Protected Member Functions inherited from kanzi::AbstractExpressionValueSource | |
AbstractExpressionValueSource () | |
Constructor. More... | |
Protected Attributes | |
PropertyField | m_field |
Property field to read when property is changed. More... | |
string | m_path |
Path to object to listen to. More... | |
AbstractPropertyType | m_propertyType |
Property type to listen to. More... | |
Object Property expression value source.
Resolves an object by path and reads a property.
|
inlineprotected |
Constructor.
path | Path to object. |
propertyType | Property type to listen to. |
field | Property field to read. |
|
static |
Creates an object property expression value source.
path | Path to object. |
propertyType | Property type to listen to. |
field | Property field to read. |
|
inlinestatic |
Creates an object property expression value source.
Uses the whole property.
path | Path to object. |
propertyType | Property type to listen to. |
|
inline |
Gets the source object path.
|
inline |
Gets the source property type.
|
inline |
Gets the source property field.
|
overrideprotectedvirtual |
AbstractExpressionValueSource::createRuntimeOverride() implementation.
Implements kanzi::AbstractExpressionValueSource.
|
overrideprotectedvirtual |
AbstractExpressionValueSource::convertToBindingSourceOverride() implementation.
Implements kanzi::AbstractExpressionValueSource.
|
protected |
Path to object to listen to.
|
protected |
Property type to listen to.
|
protected |
Property field to read when property is changed.