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. | |
PropertyField | getPropertyField () const |
Gets the source property field. | |
AbstractPropertyType | getPropertyType () const |
Gets the source property type. | |
Public Member Functions inherited from kanzi::AbstractExpressionValueSource | |
BindingSourcePtr | convertToBindingSource () |
Converts this expression value source to a matching binding source. | |
AbstractExpressionValueSourceRuntimePtr | createRuntime (ExpressionBindingSourceRuntime &host) |
Creates a runtime for this expression value source. | |
virtual | ~AbstractExpressionValueSource () |
Destructor. | |
Static Public Member Functions | |
static ObjectPropertyExpressionValueSourceSharedPtr | create (string_view path, AbstractPropertyType propertyType) |
Creates an object property expression value source. | |
static ObjectPropertyExpressionValueSourceSharedPtr | create (string_view path, AbstractPropertyType propertyType, PropertyField field) |
Creates an object property expression value source. | |
Protected Member Functions | |
BindingSourcePtr | convertToBindingSourceOverride () override |
AbstractExpressionValueSource::convertToBindingSourceOverride() implementation. | |
AbstractExpressionValueSourceRuntimePtr | createRuntimeOverride (ExpressionBindingSourceRuntime &host) override |
AbstractExpressionValueSource::createRuntimeOverride() implementation. | |
ObjectPropertyExpressionValueSource (string_view path, AbstractPropertyType propertyType, PropertyField field) | |
Constructor. | |
Protected Member Functions inherited from kanzi::AbstractExpressionValueSource | |
AbstractExpressionValueSource () | |
Constructor. | |
Protected Attributes | |
PropertyField | m_field |
Property field to read when property is changed. | |
string | m_path |
Path to object to listen to. | |
AbstractPropertyType | m_propertyType |
Property type to listen to. | |
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.