VCF::Menu Class Reference
#include <vcf/ApplicationKit/Menu.h>
Inheritance diagram for VCF::Menu:
List of all members.
Constructor & Destructor Documentation
| VCF::Menu::Menu |
( |
const String & |
name |
) |
|
|
| virtual VCF::Menu::~Menu |
( |
|
) |
[virtual] |
|
Member Function Documentation
| virtual void VCF::Menu::destroy |
( |
|
) |
[protected, virtual] |
|
| MenuItem* VCF::Menu::getRootMenuItem |
( |
|
) |
|
|
| virtual void VCF::Menu::handleEvent |
( |
Event * |
event |
) |
[virtual] |
|
|
|
generic handler method for events.
All UI events are sent here and then dispatched accordingly to a more specific event handler. If an Application class is present, then it is given a chance to "see" the event first before delegating it to the Component.
All events are dispatched by their type so it is important to correctly identify the event objects type if you would like it to be dispatched correctly. The method will call the appropriate component method, like afterCreate(), beforeDestroy(), etc. - Parameters:
-
Reimplemented from VCF::UIComponent.
Reimplemented in VCF::MenuBar. |
| void VCF::Menu::itemChanged |
( |
const int & |
eventType, |
|
|
MenuItem * |
item |
|
) |
|
|
| void VCF::Menu::setRootMenuItem |
( |
MenuItem * |
item |
) |
|
|
Member Data Documentation
The documentation for this class was generated from the following file: