Kanzi Framework  3.9.0
Kanzi Engine API
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. More...
 
 PropertyListener (Node *node, kanzi::AbstractPropertyType type, PropertyChangedFunction function)
 
- Public Member Functions inherited from kanzi::NodePropertyNotificationHandler
NodegetNode () const
 Access the node. More...
 
void invalidate ()
 Invalidates the state of the notification handler. More...
 
bool isValid () const
 Tell if this notification handler is valid. More...
 
- Public Member Functions inherited from kanzi::AbstractPropertyNotificationHandler
AbstractPropertyType getPropertyType () const
 Get the property type this handler is listening. More...
 

Additional Inherited Members

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

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: