#include <ax/ax_controller_standard.h>
Public Member Functions | |
AxStandardMenuController (AxMenuListCtrl *listCtrl=NULL, wxTextCtrl *textCtrl=NULL) | |
~AxStandardMenuController () | |
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. | |
virtual bool | UpdateAppearance (int hints) |
Override to update the appearance when settings change. | |
AxMenuListCtrl * | GetListCtrl () const |
wxTextCtrl * | GetTextCtrl () const |
void | SetListCtrl (AxMenuListCtrl *listCtrl) |
void | SetTextCtrl (wxTextCtrl *textCtrl) |
Protected Attributes | |
AxMenuListCtrl * | m_listCtrl |
wxTextCtrl * | m_textCtrl |
AxStandardMenuController::AxStandardMenuController | ( | AxMenuListCtrl * | listCtrl = NULL , |
|
wxTextCtrl * | textCtrl = NULL | |||
) | [inline] |
AxStandardMenuController::~AxStandardMenuController | ( | ) |
bool AxStandardMenuController::BeginModal | ( | ) | [virtual] |
bool AxStandardMenuController::EndModal | ( | ) | [virtual] |
AxMenuListCtrl* AxStandardMenuController::GetListCtrl | ( | ) | const [inline] |
AxMenuItem * AxStandardMenuController::GetMenuSelection | ( | ) | const [virtual] |
Called when we need to get the currently selected menu item - implement for a specific control.
Implements AxMenuController.
wxTextCtrl* AxStandardMenuController::GetTextCtrl | ( | ) | const [inline] |
bool AxStandardMenuController::IdleProcessing | ( | ) | [virtual] |
void AxStandardMenuController::Init | ( | ) |
Reimplemented from AxMenuController.
bool AxStandardMenuController::RefreshMenu | ( | AxMenu * | menu, | |
AxNavigationHint | hint | |||
) | [virtual] |
Called when the menu must be refreshed - implement for a specific control.
Implements AxMenuController.
void AxStandardMenuController::SetListCtrl | ( | AxMenuListCtrl * | listCtrl | ) | [inline] |
bool AxStandardMenuController::SetMenuFocus | ( | ) | [virtual] |
bool AxStandardMenuController::SetMenuSelection | ( | AxMenuItem * | menuItem | ) | [virtual] |
Called when a menu item should be selected - implement for a specific control.
Implements AxMenuController.
void AxStandardMenuController::SetTextCtrl | ( | wxTextCtrl * | textCtrl | ) | [inline] |
bool AxStandardMenuController::SetTitle | ( | const wxString & | title | ) | [virtual] |
Called when the current view title should be changed - implement for a specific title control.
Implements AxMenuController.
bool AxStandardMenuController::UpdateAppearance | ( | int | hints | ) | [virtual] |
bool AxStandardMenuController::UpdateMenuItem | ( | AxMenuItem * | item | ) | [virtual] |
AxMenuListCtrl* AxStandardMenuController::m_listCtrl [protected] |
wxTextCtrl* AxStandardMenuController::m_textCtrl [protected] |