Implementation of the ControllerPropertySource, for ControllerProperty value provided as a property field, either on the Activity Host node or, if the Activity Host node does not have that property, its nearest ancestor that does have that property. More...
#include <kanzi/ui/node/concept/activity/object_controller_property_source.hpp>
Public Member Functions | |
BindingSourcePtr | createBindingSource () override |
Implementation ControllerPropertySource::createBindingSource(). More... | |
Variant | getValue () const override |
Implementation ControllerPropertySource::getValue(). More... | |
string | getValueProviderPath () const override |
Implementation ControllerPropertySource::getValueProviderPath(). More... | |
bool | isValid () const override |
Implementation ControllerPropertySource::isValid(). More... | |
ObjectControllerPropertySource (AbstractPropertyType propertyType, Node &hostNode) | |
Constructor. More... | |
Public Member Functions inherited from kanzi::ControllerPropertySource | |
virtual | ~ControllerPropertySource ()=default |
Destructor. More... | |
Implementation of the ControllerPropertySource, for ControllerProperty value provided as a property field, either on the Activity Host node or, if the Activity Host node does not have that property, its nearest ancestor that does have that property.
This is a helper class for Activity Host Controller Property Manager.
|
explicit |
Constructor.
propertyType | Property type used as a ControllerProperty. |
hostNode | An Exclusive Activity Host node for which to create the ControllerPropertySource. |
|
overridevirtual |
Implementation ControllerPropertySource::isValid().
Implements kanzi::ControllerPropertySource.
|
overridevirtual |
Implementation ControllerPropertySource::getValue().
Implements kanzi::ControllerPropertySource.
|
overridevirtual |
Implementation ControllerPropertySource::createBindingSource().
Implements kanzi::ControllerPropertySource.
|
overridevirtual |
Implementation ControllerPropertySource::getValueProviderPath().
Implements kanzi::ControllerPropertySource.