#include <ax/ax_menu_shortcuts.h>
Public Types | |
enum | AxShortcutCommand { AxShortcutCommandUnknown, AxShortcutCommandShortcut, AxShortcutCommandReset } |
Public Member Functions | |
AxShortcutTextActivator () | |
AxShortcutTextActivator (AxShortcutCommand command, const wxString &labelSpec, const wxString &descriptionSpec, wxShortcutManager *shortcutManager, AxSpeech *speech, wxShortcutItem *shortcut) | |
AxShortcutTextActivator (const AxShortcutTextActivator &activator) | |
void | Init () |
void | Copy (const AxShortcutTextActivator &activator) |
virtual AxActivator * | Clone () const |
virtual AxMenu * | Activate (AxMenuController *controller, AxMenuItem *item) |
Called when the user activates a menu item by pressing return or double-clicking. | |
Protected Attributes | |
AxSpeech * | m_speech |
wxShortcutManager * | m_shortcutManager |
wxShortcutItem * | m_shortcut |
AxShortcutCommand | m_command |
AxShortcutTextActivator::AxShortcutTextActivator | ( | ) | [inline] |
AxShortcutTextActivator::AxShortcutTextActivator | ( | AxShortcutCommand | command, | |
const wxString & | labelSpec, | |||
const wxString & | descriptionSpec, | |||
wxShortcutManager * | shortcutManager, | |||
AxSpeech * | speech, | |||
wxShortcutItem * | shortcut | |||
) |
AxShortcutTextActivator::AxShortcutTextActivator | ( | const AxShortcutTextActivator & | activator | ) | [inline] |
AxMenu * AxShortcutTextActivator::Activate | ( | AxMenuController * | controller, | |
AxMenuItem * | item | |||
) | [virtual] |
Called when the user activates a menu item by pressing return or double-clicking.
Reimplemented from AxTextActivator.
virtual AxActivator* AxShortcutTextActivator::Clone | ( | ) | const [inline, virtual] |
Reimplemented from AxTextActivator.
void AxShortcutTextActivator::Copy | ( | const AxShortcutTextActivator & | activator | ) |
void AxShortcutTextActivator::Init | ( | ) |
Reimplemented from AxTextActivator.
AxShortcutCommand AxShortcutTextActivator::m_command [protected] |
wxShortcutItem* AxShortcutTextActivator::m_shortcut [protected] |
AxSpeech* AxShortcutTextActivator::m_speech [protected] |