Kanzi 3.9.10
kanzi::PropertyListener Class Reference

#include <kanzi/ui/node/concept/list_box/data_source_list_item_generator_impl.hpp>

Inheritance diagram for kanzi::PropertyListener:
[legend]

Public Member Functions

void onPropertyChanged (PropertyNotificationReason) override
 Method to be executed when property is changed.
 
 PropertyListener (Node *node, kanzi::AbstractPropertyType type, PropertyChangedFunction function)
 
- Public Member Functions inherited from kanzi::NodePropertyNotificationHandler
NodegetNode () const
 Access the node.
 
void invalidate ()
 Invalidates the state of the notification handler.
 
bool isValid () const
 Tell if this notification handler is valid.
 
- Public Member Functions inherited from kanzi::AbstractPropertyNotificationHandler
AbstractPropertyType getPropertyType () const
 Get the property type this handler is listening.
 

Additional Inherited Members

- Protected Member Functions inherited from kanzi::NodePropertyNotificationHandler
 NodePropertyNotificationHandler ()
 Empty constructor.
 
 NodePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node)
 Constructor.
 
 NodePropertyNotificationHandler (const NodePropertyNotificationHandler &rhs)
 Copy constructor.
 
NodePropertyNotificationHandleroperator= (const NodePropertyNotificationHandler &rhs)
 Assignment operator.
 
 ~NodePropertyNotificationHandler () override
 Destructor.
 
- Protected Member Functions inherited from kanzi::AbstractPropertyNotificationHandler
 AbstractPropertyNotificationHandler ()
 Empty constructor.
 
 AbstractPropertyNotificationHandler (AbstractPropertyType propertyType)
 Constructor.
 
virtual ~AbstractPropertyNotificationHandler ()
 

Constructor & Destructor Documentation

◆ PropertyListener()

kanzi::PropertyListener::PropertyListener ( Node * node,
kanzi::AbstractPropertyType type,
PropertyChangedFunction function )
inline

Member Function Documentation

◆ onPropertyChanged()

void kanzi::PropertyListener::onPropertyChanged ( PropertyNotificationReason reason)
inlineoverridevirtual

Method to be executed when property is changed.

Parameters
reasonWhy property was changed.

Implements kanzi::AbstractPropertyNotificationHandler.


The documentation for this class was generated from the following file: