NXWidgets: NXWidgets::IListDataEventHandler Class Reference

NXWidgets 1.19

Public Member Functions | List of all members
NXWidgets::IListDataEventHandler Class Referenceabstract

`#include <ilistdataeventhandler.hxx>`

Inheritance diagram for NXWidgets::IListDataEventHandler:

## Public Member Functions
virtual | ~IListDataEventHandler (void)
virtual void | handleListDataChangedEvent (const CListDataEventArgs &e)=0
virtual void | handleListDataSelectionChangedEvent (const CListDataEventArgs &e)=0

## Detailed Description

Base IListDataEventHandler class, intended to be subclassed. Any class that needs to listen for CListData events should inherit from this class.

Definition at line 103 of file ilistdataeventhandler.hxx.

## Constructor & Destructor Documentation

## ◆ ~IListDataEventHandler()

virtual NXWidgets::IListDataEventHandler::~IListDataEventHandler | ( | void |  | ) |
| inlinevirtual

A virtual destructor is required in order to override the IListDataEventHandler destructor. We do this because if we delete IListDataEventHandler, we want the destructor of the class that inherits from IListDataEventHandler to run, not this one.

Definition at line 113 of file ilistdataeventhandler.hxx.

## Member Function Documentation

## ◆ handleListDataChangedEvent()

virtual void NXWidgets::IListDataEventHandler::handleListDataChangedEvent | ( | const CListDataEventArgs & | e | ) |
| pure virtual

Handle data changes.

Parameters

  e | Event arguments.

Implemented in NXWidgets::CListBox, and NXWidgets::CCycleButton.

## ◆ handleListDataSelectionChangedEvent()

virtual void NXWidgets::IListDataEventHandler::handleListDataSelectionChangedEvent | ( | const CListDataEventArgs & | e | ) |
| pure virtual

Handle data changes.

Parameters

  e | Event arguments.

Implemented in NXWidgets::CListBox, and NXWidgets::CCycleButton.

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

- ilistdataeventhandler.hxx