JUCE
Public Member Functions | List of all members
MenuBarModel::Listener Class Referenceabstract

A class to receive callbacks when a MenuBarModel changes. More...

+ Inheritance diagram for MenuBarModel::Listener:

Public Member Functions

virtual ~Listener ()
 Destructor. More...
 
virtual void menuBarItemsChanged (MenuBarModel *menuBarModel)=0
 This callback is made when items are changed in the menu bar model. More...
 
virtual void menuCommandInvoked (MenuBarModel *menuBarModel, const ApplicationCommandTarget::InvocationInfo &info)=0
 This callback is made when an application command is invoked that is represented by one of the items in the menu bar model. More...
 

Detailed Description

A class to receive callbacks when a MenuBarModel changes.

See also
MenuBarModel::addListener, MenuBarModel::removeListener, MenuBarModel::menuItemsChanged

Constructor & Destructor Documentation

virtual MenuBarModel::Listener::~Listener ( )
virtual

Member Function Documentation

virtual void MenuBarModel::Listener::menuBarItemsChanged ( MenuBarModel menuBarModel)
pure virtual

This callback is made when items are changed in the menu bar model.

Implemented in MenuBarComponent.

virtual void MenuBarModel::Listener::menuCommandInvoked ( MenuBarModel menuBarModel,
const ApplicationCommandTarget::InvocationInfo info 
)
pure virtual

This callback is made when an application command is invoked that is represented by one of the items in the menu bar model.

Implemented in MenuBarComponent.


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