AxSimpleMenuController Class Reference
[Basic AxTk UI classes]

The default menu controller class, to use with AxMenuListCtrl and AxContainerCtrl. More...

#include <ax/ax_controller_simple.h>

Inheritance diagram for AxSimpleMenuController:

AxMenuController

List of all members.

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 AxMenuItemGetMenuSelection () 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.
AxMenuListCtrlGetListCtrl () const
wxTextCtrl * GetTextCtrl () const
void SetListCtrl (AxMenuListCtrl *listCtrl)
void SetTextCtrl (wxTextCtrl *textCtrl)

Protected Attributes

AxMenuListCtrlm_listCtrl
wxTextCtrl * m_textCtrl


Detailed Description

The default menu controller class, to use with AxMenuListCtrl and AxContainerCtrl.

Constructor & Destructor Documentation

AxSimpleMenuController::AxSimpleMenuController ( AxMenuListCtrl listCtrl = NULL,
wxTextCtrl *  textCtrl = NULL 
) [inline]

AxSimpleMenuController::~AxSimpleMenuController (  ) 


Member Function Documentation

bool AxSimpleMenuController::BeginModal (  )  [virtual]

Called when the menu becomes modal.

Implements AxMenuController.

bool AxSimpleMenuController::EndModal (  )  [virtual]

Called when the menu stops being modal.

Implements AxMenuController.

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]

Perform idle processing.

Reimplemented from AxMenuController.

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]

Called when the menu should get the focus.

Implements AxMenuController.

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]

Called when a menu item must be updated.

Implements AxMenuController.


Member Data Documentation

wxTextCtrl* AxSimpleMenuController::m_textCtrl [protected]


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

Generated on Sat Apr 25 09:24:13 2009 for AxTk by  doxygen 1.5.8