#include <ax/ax_ui_adaptation.h>
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 AxAdapter * | CreateEventHandler (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. |
AxVoiceAdaptationHandler::AxVoiceAdaptationHandler | ( | ) | [inline] |
AxVoiceAdaptationHandler::~AxVoiceAdaptationHandler | ( | ) | [inline] |
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.