The Robot Application Programming Interface Delegate Project
|
Provides caching of popup/dropdown menus and only requires the user to implement fillMenu. More...
Public Member Functions | |
void | dispose () |
Menu | getMenu (Control parent) |
Menu | getMenu (Menu parent) |
void | refreshDropdown () |
Protected Member Functions | |
abstract void | fillMenu (Menu menu) |
IMPORTANT: implementation MUST invoke disposeMenuItems() as the first call in this method in order to properly dispose of any previous MenuItems. | |
void | disposeMenuItems (Menu menu) |
void | disposeMenu (Menu menu) |
User should call disposeMenuItems at the beginning of the fillMenu call to properly dispose of the previous menu items
void dispose | ( | ) |
void disposeMenu | ( | Menu | menu | ) | [protected] |
void disposeMenuItems | ( | Menu | menu | ) | [protected] |
abstract void fillMenu | ( | Menu | menu | ) | [protected, pure virtual] |
Menu getMenu | ( | Control | parent | ) |
Menu getMenu | ( | Menu | parent | ) |
void refreshDropdown | ( | ) |