#include <ax/ax_controller_simple.h>
Public Member Functions | |
AxSimpleMenuController (AxMenuListCtrl *listCtrl=NULL, wxTextCtrl *textCtrl=NULL) | |
~AxSimpleMenuController () | |
void | Init () |
virtual bool | RefreshMenu (AxMenu *menu, AxNavigationHint hint) |
Called when the menu must be refreshed - implement for a specific control. | |
virtual bool | SetMenuSelection (AxMenuItem *menuItem) |
Called when a menu item should be selected - implement for a specific control. | |
virtual bool | UpdateMenuItem (AxMenuItem *item) |
Called when a menu item must be updated. | |
virtual bool | SetTitle (const wxString &title) |
Called when the current view title should be changed - implement for a specific title control. | |
virtual AxMenuItem * | GetMenuSelection () const |
Called when we need to get the currently selected menu item - implement for a specific control. | |
virtual bool | BeginModal () |
Called when the menu becomes modal. | |
virtual bool | EndModal () |
Called when the menu stops being modal. | |
virtual bool | IdleProcessing () |
Perform idle processing. | |
virtual bool | SetMenuFocus () |
Called when the menu should get the focus. | |
AxMenuListCtrl * | GetListCtrl () const |
wxTextCtrl * | GetTextCtrl () const |
void | SetListCtrl (AxMenuListCtrl *listCtrl) |
void | SetTextCtrl (wxTextCtrl *textCtrl) |
Protected Attributes | |
AxMenuListCtrl * | m_listCtrl |
wxTextCtrl * | m_textCtrl |
AxSimpleMenuController::AxSimpleMenuController | ( | AxMenuListCtrl * | listCtrl = NULL , |
|
wxTextCtrl * | textCtrl = NULL | |||
) | [inline] |
AxSimpleMenuController::~AxSimpleMenuController | ( | ) |
bool AxSimpleMenuController::BeginModal | ( | ) | [virtual] |
bool AxSimpleMenuController::EndModal | ( | ) | [virtual] |
AxMenuListCtrl* AxSimpleMenuController::GetListCtrl | ( | ) | const [inline] |
AxMenuItem * AxSimpleMenuController::GetMenuSelection | ( | ) | const [virtual] |
Called when we need to get the currently selected menu item - implement for a specific control.
Implements AxMenuController.
wxTextCtrl* AxSimpleMenuController::GetTextCtrl | ( | ) | const [inline] |
bool AxSimpleMenuController::IdleProcessing | ( | ) | [virtual] |
void AxSimpleMenuController::Init | ( | ) |
Reimplemented from AxMenuController.
bool AxSimpleMenuController::RefreshMenu | ( | AxMenu * | menu, | |
AxNavigationHint | hint | |||
) | [virtual] |
Called when the menu must be refreshed - implement for a specific control.
Implements AxMenuController.
void AxSimpleMenuController::SetListCtrl | ( | AxMenuListCtrl * | listCtrl | ) | [inline] |
bool AxSimpleMenuController::SetMenuFocus | ( | ) | [virtual] |
bool AxSimpleMenuController::SetMenuSelection | ( | AxMenuItem * | menuItem | ) | [virtual] |
Called when a menu item should be selected - implement for a specific control.
Implements AxMenuController.
void AxSimpleMenuController::SetTextCtrl | ( | wxTextCtrl * | textCtrl | ) | [inline] |
bool AxSimpleMenuController::SetTitle | ( | const wxString & | title | ) | [virtual] |
Called when the current view title should be changed - implement for a specific title control.
Implements AxMenuController.
bool AxSimpleMenuController::UpdateMenuItem | ( | AxMenuItem * | item | ) | [virtual] |
AxMenuListCtrl* AxSimpleMenuController::m_listCtrl [protected] |
wxTextCtrl* AxSimpleMenuController::m_textCtrl [protected] |