AxEventActivator Class Reference
[Basic AxTk UI classes]

Sends an event to a given event sink. More...

#include <ax/ax_activator.h>

Inheritance diagram for AxEventActivator:

AxActivator

List of all members.

Public Member Functions

 AxEventActivator ()
 AxEventActivator (const AxEventActivator &activator)
 AxEventActivator (AxMenuItem *item, wxEvtHandler *sink, long eventId)
 ~AxEventActivator ()
void Init ()
void Copy (const AxEventActivator &activator)
virtual AxActivatorClone () const
virtual AxMenuActivate (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


Detailed Description

Sends an event to a given event sink.

Constructor & Destructor Documentation

AxEventActivator::AxEventActivator (  )  [inline]

AxEventActivator::AxEventActivator ( const AxEventActivator activator  )  [inline]

AxEventActivator::AxEventActivator ( AxMenuItem item,
wxEvtHandler *  sink,
long  eventId 
) [inline]

AxEventActivator::~AxEventActivator (  )  [inline]


Member Function Documentation

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]


Member Data Documentation

long AxEventActivator::m_eventId [protected]

wxEvtHandler* AxEventActivator::m_sink [protected]


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

Generated on Wed May 6 19:22:07 2009 for AxTk by  doxygen 1.5.8