#include <ax/ax_activator.h>

Public Member Functions | |
| AxEventActivator () | |
| AxEventActivator (const AxEventActivator &activator) | |
| AxEventActivator (AxMenuItem *item, wxEvtHandler *sink, long eventId) | |
| ~AxEventActivator () | |
| void | Init () |
| void | Copy (const AxEventActivator &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. | |
| wxEvtHandler * | GetEventSink () const |
| void | SetEventSink (wxEvtHandler *sink) |
| long | GetEventId () const |
| void | SetEventId (long eventId) |
Protected Attributes | |
| wxEvtHandler * | m_sink |
| long | m_eventId |
| AxEventActivator::AxEventActivator | ( | ) | [inline] |
| AxEventActivator::AxEventActivator | ( | const AxEventActivator & | activator | ) | [inline] |
| AxEventActivator::AxEventActivator | ( | AxMenuItem * | item, | |
| wxEvtHandler * | sink, | |||
| long | eventId | |||
| ) | [inline] |
| AxEventActivator::~AxEventActivator | ( | ) | [inline] |
| virtual AxMenu* AxEventActivator::Activate | ( | AxMenuController * | controller, | |
| AxMenuItem * | item | |||
| ) | [virtual] |
Called when the user activates a menu item by pressing return or double-clicking.
Implements AxActivator.
| virtual AxActivator* AxEventActivator::Clone | ( | ) | const [inline, virtual] |
Implements AxActivator.
| void AxEventActivator::Copy | ( | const AxEventActivator & | activator | ) |
| long AxEventActivator::GetEventId | ( | ) | const [inline] |
| wxEvtHandler* AxEventActivator::GetEventSink | ( | ) | const [inline] |
| void AxEventActivator::Init | ( | ) | [inline] |
Reimplemented from AxActivator.
| void AxEventActivator::SetEventId | ( | long | eventId | ) | [inline] |
| void AxEventActivator::SetEventSink | ( | wxEvtHandler * | sink | ) | [inline] |
long AxEventActivator::m_eventId [protected] |
wxEvtHandler* AxEventActivator::m_sink [protected] |
1.5.8