AxVoiceAdaptationHandler Class Reference
[Basic AxTk UI classes]

Base class for handlers that know which AxAdapter class to use for particular controls. More...

#include <ax/ax_ui_adaptation.h>

Inheritance diagram for AxVoiceAdaptationHandler:

AxStandardControlsVoiceAdaptationHandler AxTextCtrlVoiceAdaptationHandler

List of all members.

Public Member Functions

 AxVoiceAdaptationHandler ()
 ~AxVoiceAdaptationHandler ()
virtual bool CanHandleWindow (wxWindow *win)=0
 Override to indicate if this kind of window can be handled by this object.
virtual AxAdapterCreateEventHandler (wxWindow *win)=0
 Override to create the event handler (but not push it onto the event stack).
virtual bool Adapt (wxWindow *window, AxSpeech *speech, wxShortcutManager *shortcuts, wxArrayInt &ids)
 Override to adapt e.g.
virtual bool Unadapt (wxWindow *window, wxArrayInt &ids)
 Override to unadapt e.g. a composite control. Removes the id from ids once unadapted.
virtual bool CanRecursivelyAdapt (wxWindow *WXUNUSED(window)) const
 Override to prevent recursive adaptation, e.g. into a composite.


Detailed Description

Base class for handlers that know which AxAdapter class to use for particular controls.

Constructor & Destructor Documentation

AxVoiceAdaptationHandler::AxVoiceAdaptationHandler (  )  [inline]

AxVoiceAdaptationHandler::~AxVoiceAdaptationHandler (  )  [inline]


Member Function Documentation

bool AxVoiceAdaptationHandler::Adapt ( wxWindow *  window,
AxSpeech speech,
wxShortcutManager shortcuts,
wxArrayInt &  ids 
) [virtual]

Override to adapt e.g.

a composite control. Returns an array of the identifiers of the adapted windows.

Reimplemented in AxTextCtrlVoiceAdaptationHandler, and AxStandardControlsVoiceAdaptationHandler.

virtual bool AxVoiceAdaptationHandler::CanHandleWindow ( wxWindow *  win  )  [pure virtual]

Override to indicate if this kind of window can be handled by this object.

Implemented in AxTextCtrlVoiceAdaptationHandler, and AxStandardControlsVoiceAdaptationHandler.

virtual bool AxVoiceAdaptationHandler::CanRecursivelyAdapt ( wxWindow *  WXUNUSEDwindow  )  const [inline, virtual]

Override to prevent recursive adaptation, e.g. into a composite.

virtual AxAdapter* AxVoiceAdaptationHandler::CreateEventHandler ( wxWindow *  win  )  [pure virtual]

Override to create the event handler (but not push it onto the event stack).

Implemented in AxTextCtrlVoiceAdaptationHandler, and AxStandardControlsVoiceAdaptationHandler.

bool AxVoiceAdaptationHandler::Unadapt ( wxWindow *  window,
wxArrayInt &  ids 
) [virtual]

Override to unadapt e.g. a composite control. Removes the id from ids once unadapted.

Reimplemented in AxTextCtrlVoiceAdaptationHandler, and AxStandardControlsVoiceAdaptationHandler.


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

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