Class tassistivehandler

Unit

Declaration

type tassistivehandler = class(tmsecomponent, iassistiveserver, istatfile)

Description

No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Fields

Protected fstate: assistivehandlerstatesty;
Protected fspeaklock: int32;
Protected fdataenteredkeyserial: card32;
Protected fitems: tassistivewidgetitemlist;
Protected fgridintf: iassistiveclientgrid;
Protected fnewcell: gridcoordty;
Protected fnewcol: boolean;

Methods

Protected procedure activate();
Protected procedure deactivate();
Protected procedure loaded() override;
Protected function canspeak(): boolean;
Protected procedure startspeak();
Protected procedure registeritem(const aintf: iassistiveclient; const aitem: tassistivewidgetitem);
Protected procedure unregisteritem(const aintf: iassistiveclient);
Protected function finditem(aintf: iassistiveclient; out aitem: tassistivewidgetitem): boolean;
Protected procedure doshortcut(const sender: twidget; var info: keyeventinfoty);
Protected procedure dospeakagain(const sender: twidget);
Protected procedure dospeakpath(const sender: twidget);
Protected procedure checklocatepending(const sender: iassistiveclient);
Protected function gettextvoice(const aflags: assistiveflagsty): int32;
Protected procedure doapplicationactivated();
Protected procedure doapplicationdeactivated();
Protected procedure dowindowactivated(const sender: iassistiveclient);
Protected procedure dowindowdeactivated(const sender: iassistiveclient);
Protected procedure dowindowclosed(const sender: iassistiveclient);
Protected procedure doenter(const sender: iassistiveclient);
Protected procedure doactivate(const sender: iassistiveclient);
Protected procedure dodeactivate(const sender: iassistiveclient);
Protected procedure doclientmouseevent(const sender: iassistiveclient; const info: mouseeventinfoty);
Protected procedure dokeydown(const sender: iassistiveclient; const info: keyeventinfoty);
Protected procedure dochange(const sender: iassistiveclient);
Protected procedure dodataentered(const sender: iassistiveclientdata);
Protected procedure dodbvaluechanged(const sender: iassistiveclientdata);
Protected procedure docellevent(const sender: iassistiveclientgrid; const info: celleventinfoty);
Protected procedure dogridbordertouched(const sender: iassistiveclientgrid; const adirection: graphicdirectionty);
Protected procedure doeditcharenter(const sender: iassistiveclientedit; const achar: msestring);
Protected procedure doeditchardelete(const sender: iassistiveclientedit; const achar: msestring);
Protected procedure doeditindexmoved(const sender: iassistiveclientedit; const aindex: int32);
Protected procedure doeditwithdrawn(const sender: iassistiveclientedit);
Protected procedure doedittextblock(const sender: iassistiveclientedit; const amode: edittextblockmodety; const atext: msestring);
Protected procedure doeditinputmodeset(const sender: iassistiveclientedit; const amode: editinputmodety);
Protected procedure donavigbordertouched(const sender: iassistiveclient; const adirection: graphicdirectionty);
Protected procedure dotabordertouched(const sender: iassistiveclient; const adown: boolean);
Protected procedure dofocuschanged(const sender: iassistiveclient; const oldwidget,newwidget: iassistiveclient);
Protected procedure doactionexecute(const sender: iassistiveclient; const senderobj: tobject; const info: actioninfoty);
Protected procedure doitementer(const sender: iassistiveclient; const items: shapeinfoarty; const aindex: integer);
Protected procedure domenuactivated(const sender: iassistiveclientmenu);
Protected procedure doitementer(const sender: iassistiveclientmenu; const items: menucellinfoarty; const aindex: integer);
Protected procedure dodatasetevent(const sender: iassistiveclient; const akind: assistivedbeventkindty; const adataset: pointer);
Protected procedure dostatread(const reader: tstatreader) virtual;
Protected procedure dostatwrite(const writer: tstatwriter) virtual;
Protected procedure statreading();
Protected procedure statread();
Protected function getstatvarname(): msestring;
Protected function getstatpriority(): integer;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy(); override;
Public procedure initnewcomponent(const ascale: real) override;
Public procedure setstate(const astate: assistivehandlerstatesty);
Public procedure resetstate(const astate: assistivehandlerstatesty);
Public procedure speakstop(const acancel: boolean = false);
Public procedure speakcontinue();
Public procedure wait();
Public procedure cancel();
Public procedure speaktext(const atext: msestring; const avoice: int32 = 0; const nocut: boolean = false);
Public procedure speaktext1(const atext: msestring; const avoice: int32 = 0; const nocut: boolean = false);
Public procedure speaktext(const atext: stockcaptionty; const avoice: int32 = 0; const nocut: boolean = false);
Public procedure speaktext1(const atext: stockcaptionty; const avoice: int32 = 0; const nocut: boolean = false);
Public procedure speakcharacter(const achar: char32; const avoice: int32 = 0; const nocut: boolean = false);
Public procedure speakall(const sender: iassistiveclient; aoptions: speakoptionsty);
Public procedure speakall(const sender: twidget; aoptions: speakoptionsty);
Public procedure speakgridcell(const sender: iassistiveclientgrid; const acell: gridcoordty; const acaption: boolean);
Public procedure speakinput(const sender: iassistiveclientdata);
Public procedure speakmenustart(const sender: iassistiveclient);
Public procedure speakallmenu(const sender: iassistiveclientmenu; const ahint: boolean);
Public function getcaptiontext(const acaption: msestring): msestring;
Public function getcaptiontext(const sender: iassistiveclient): msestring;
Public function gettexttext(const sender: iassistiveclient): msestring;
Public function gethinttext(const sender: iassistiveclient): msestring;
Public procedure focusfirstelement(const awidget: twidget);
Public procedure focuslastelement(const awidget: twidget);

Properties

Public property state: assistivehandlerstatesty read fstate;
Published property statfile: tstatfile read fstatfile write setstatfile;
Published property statvarname: msestring read fstatvarname write fstatvarname;
Published property statpriority: int32 read fstatpriority write fstatpriority default 0;
Published property active: boolean read factive write setactive default false;
Published property options: assistiveoptionsty read foptions write setoptions default defaultassistiveoptions;
Published property speaker: tassistivespeak read fspeaker write setspeaker;
Published property voicefixed: int32 read fvoicefixed write fvoicefixed default 0;
Published property maincaption: msestring read fmaincaption write fmaincaption;
Published property voicecaption: int32 read fvoicecaption write fvoicecaption default 0;
Published property voicetextmessage: int32 read fvoicetextmessage write fvoicetextmessage default 0;
Published property voicetext: int32 read fvoicetext write fvoicetext default 0;
Published property voicetextdisp: int32 read fvoicetextdisp write fvoicetextdisp default 0;
Published property voicetextedit: int32 read fvoicetextedit write fvoicetextedit default 0;
Published property voicetexteditreadonly: int32 read fvoicetexteditreadonly write fvoicetexteditreadonly default 0;
Published property onapplicationactivated: assistiveservereventty read fonapplicationactivated write fonapplicationactivated;
Published property onapplicationdeactivated: assistiveservereventty read fonapplicationdeactivated write fonapplicationdeactivated;
Published property onwindowactivated: assistiveserverclienteventty read fonwindowactivated write fonwindowactivated;
Published property onwindowdeactivated: assistiveserverclienteventty read fonwindowdeactivated write fonwindowdeactivated;
Published property onwindowclosed: assistiveserverclienteventty read fonwindowclosed write fonwindowclosed;
Published property onenter: assistiveserverclienteventty read fonenter write fonenter;
Published property onactivate: assistiveserverclienteventty read fonactivate write fonactivate;
Published property ondeactivate: assistiveserverclienteventty read fondeactivate write fondeactivate;
Published property onclientmouseevent: assistiveservermouseeventty read fonclientmouseevent write fonclientmouseevent;
Published property onfocuschanged: assistiveserverfocuschangedeventty read fonfocuschanged write fonfocuschanged;
Published property onkeydown: assistiveserverkeyeventty read fonkeydown write fonkeydown;
Published property onchange: assistiveserverclienteventty read fonchange write fonchange;
Published property ondataentered: assistiveserverdataeventty read fondataentered write fondataentered;
Published property ondbvaluechanged: assistiveserverdataeventty read fondbvaluechanged write fondbvaluechanged;
Published property oncellevent: assistiveservercelleventty read foncellevent write foncellevent;
Published property ongridbordertouched: assistiveservergriddirectioneventty read fongridbordertouched write fongridbordertouched;
Published property oneditcharenter: assistiveservereditstringeventty read foneditcharenter write foneditcharenter;
Published property oneditchardelete: assistiveservereditstringeventty read foneditchardelete write foneditchardelete;
Published property oneditwithdrawn: assistiveserverediteventty read foneditwithdrawn write foneditwithdrawn;
Published property oneditindexmoved: assistiveservereditindexeventty read foneditindexmoved write foneditindexmoved;
Published property oneditinputmodeset: assistiveservereditinputmodeeventty read foneditinputmodeset write foneditinputmodeset;
Published property onedittextblock: assistiveserveredittextblockeventty read fonedittextblock write fonedittextblock;
Published property onnavigbordertouched: assistiveserverdirectioneventty read fonnavigbordertouched write fonnavigbordertouched;
Published property ontabordertouched: assistiveserverbooleaneventty read fontabordertouched write fontabordertouched;
Published property onactionexecute: assistiveserveractioneventty read fonactionexecute write fonactionexecute;
Published property onitementer: assistiveserveritemeventty read fonitementer write fonitementer;
Published property onmenuactivated: assistiveservermenueventty read fonmenuactivated write fonmenuactivated;
Published property onmenuitementer: assistiveservermenuitemeventty read fonmenuitementer write fonmenuitementer;
Published property ondatasetevent: assistiveserverdataseteventty read fondatasetevent write fondatasetevent;

Description

Fields

Protected fstate: assistivehandlerstatesty;
 
Protected fspeaklock: int32;
 
Protected fdataenteredkeyserial: card32;
 
Protected fitems: tassistivewidgetitemlist;
 
Protected fgridintf: iassistiveclientgrid;
 
Protected fnewcell: gridcoordty;
 
Protected fnewcol: boolean;
 

Methods

Protected procedure activate();
 
Protected procedure deactivate();
 
Protected procedure loaded() override;
 
Protected function canspeak(): boolean;
 
Protected procedure startspeak();
 
Protected procedure registeritem(const aintf: iassistiveclient; const aitem: tassistivewidgetitem);
 
Protected procedure unregisteritem(const aintf: iassistiveclient);
 
Protected function finditem(aintf: iassistiveclient; out aitem: tassistivewidgetitem): boolean;
 
Protected procedure doshortcut(const sender: twidget; var info: keyeventinfoty);
 
Protected procedure dospeakagain(const sender: twidget);
 
Protected procedure dospeakpath(const sender: twidget);
 
Protected procedure checklocatepending(const sender: iassistiveclient);
 
Protected function gettextvoice(const aflags: assistiveflagsty): int32;
 
Protected procedure doapplicationactivated();
 
Protected procedure doapplicationdeactivated();
 
Protected procedure dowindowactivated(const sender: iassistiveclient);
 
Protected procedure dowindowdeactivated(const sender: iassistiveclient);
 
Protected procedure dowindowclosed(const sender: iassistiveclient);
 
Protected procedure doenter(const sender: iassistiveclient);
 
Protected procedure doactivate(const sender: iassistiveclient);
 
Protected procedure dodeactivate(const sender: iassistiveclient);
 
Protected procedure doclientmouseevent(const sender: iassistiveclient; const info: mouseeventinfoty);
 
Protected procedure dokeydown(const sender: iassistiveclient; const info: keyeventinfoty);
 
Protected procedure dochange(const sender: iassistiveclient);
 
Protected procedure dodataentered(const sender: iassistiveclientdata);
 
Protected procedure dodbvaluechanged(const sender: iassistiveclientdata);
 
Protected procedure docellevent(const sender: iassistiveclientgrid; const info: celleventinfoty);
 
Protected procedure dogridbordertouched(const sender: iassistiveclientgrid; const adirection: graphicdirectionty);
 
Protected procedure doeditcharenter(const sender: iassistiveclientedit; const achar: msestring);
 
Protected procedure doeditchardelete(const sender: iassistiveclientedit; const achar: msestring);
 
Protected procedure doeditindexmoved(const sender: iassistiveclientedit; const aindex: int32);
 
Protected procedure doeditwithdrawn(const sender: iassistiveclientedit);
 
Protected procedure doedittextblock(const sender: iassistiveclientedit; const amode: edittextblockmodety; const atext: msestring);
 
Protected procedure doeditinputmodeset(const sender: iassistiveclientedit; const amode: editinputmodety);
 
Protected procedure donavigbordertouched(const sender: iassistiveclient; const adirection: graphicdirectionty);
 
Protected procedure dotabordertouched(const sender: iassistiveclient; const adown: boolean);
 
Protected procedure dofocuschanged(const sender: iassistiveclient; const oldwidget,newwidget: iassistiveclient);
 
Protected procedure doactionexecute(const sender: iassistiveclient; const senderobj: tobject; const info: actioninfoty);
 
Protected procedure doitementer(const sender: iassistiveclient; const items: shapeinfoarty; const aindex: integer);
 
Protected procedure domenuactivated(const sender: iassistiveclientmenu);
 
Protected procedure doitementer(const sender: iassistiveclientmenu; const items: menucellinfoarty; const aindex: integer);
 
Protected procedure dodatasetevent(const sender: iassistiveclient; const akind: assistivedbeventkindty; const adataset: pointer);
 
Protected procedure dostatread(const reader: tstatreader) virtual;
 
Protected procedure dostatwrite(const writer: tstatwriter) virtual;
 
Protected procedure statreading();
 
Protected procedure statread();
 
Protected function getstatvarname(): msestring;
 
Protected function getstatpriority(): integer;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy(); override;
 
Public procedure initnewcomponent(const ascale: real) override;
 
Public procedure setstate(const astate: assistivehandlerstatesty);
 
Public procedure resetstate(const astate: assistivehandlerstatesty);
 
Public procedure speakstop(const acancel: boolean = false);
 
Public procedure speakcontinue();
 
Public procedure wait();
 
Public procedure cancel();
 
Public procedure speaktext(const atext: msestring; const avoice: int32 = 0; const nocut: boolean = false);
 
Public procedure speaktext1(const atext: msestring; const avoice: int32 = 0; const nocut: boolean = false);
 
Public procedure speaktext(const atext: stockcaptionty; const avoice: int32 = 0; const nocut: boolean = false);
 
Public procedure speaktext1(const atext: stockcaptionty; const avoice: int32 = 0; const nocut: boolean = false);
 
Public procedure speakcharacter(const achar: char32; const avoice: int32 = 0; const nocut: boolean = false);
 
Public procedure speakall(const sender: iassistiveclient; aoptions: speakoptionsty);
 
Public procedure speakall(const sender: twidget; aoptions: speakoptionsty);
 
Public procedure speakgridcell(const sender: iassistiveclientgrid; const acell: gridcoordty; const acaption: boolean);
 
Public procedure speakinput(const sender: iassistiveclientdata);
 
Public procedure speakmenustart(const sender: iassistiveclient);
 
Public procedure speakallmenu(const sender: iassistiveclientmenu; const ahint: boolean);
 
Public function getcaptiontext(const acaption: msestring): msestring;
 
Public function getcaptiontext(const sender: iassistiveclient): msestring;
 
Public function gettexttext(const sender: iassistiveclient): msestring;
 
Public function gethinttext(const sender: iassistiveclient): msestring;
 
Public procedure focusfirstelement(const awidget: twidget);
 
Public procedure focuslastelement(const awidget: twidget);
 

Properties

Public property state: assistivehandlerstatesty read fstate;
 
Published property statfile: tstatfile read fstatfile write setstatfile;
 
Published property statvarname: msestring read fstatvarname write fstatvarname;
 
Published property statpriority: int32 read fstatpriority write fstatpriority default 0;
 
Published property active: boolean read factive write setactive default false;
 
Published property options: assistiveoptionsty read foptions write setoptions default defaultassistiveoptions;
 
Published property speaker: tassistivespeak read fspeaker write setspeaker;
 
Published property voicefixed: int32 read fvoicefixed write fvoicefixed default 0;
 
Published property maincaption: msestring read fmaincaption write fmaincaption;
 
Published property voicecaption: int32 read fvoicecaption write fvoicecaption default 0;
 
Published property voicetextmessage: int32 read fvoicetextmessage write fvoicetextmessage default 0;
 
Published property voicetext: int32 read fvoicetext write fvoicetext default 0;
 
Published property voicetextdisp: int32 read fvoicetextdisp write fvoicetextdisp default 0;
 
Published property voicetextedit: int32 read fvoicetextedit write fvoicetextedit default 0;
 
Published property voicetexteditreadonly: int32 read fvoicetexteditreadonly write fvoicetexteditreadonly default 0;
 
Published property onapplicationactivated: assistiveservereventty read fonapplicationactivated write fonapplicationactivated;
 
Published property onapplicationdeactivated: assistiveservereventty read fonapplicationdeactivated write fonapplicationdeactivated;
 
Published property onwindowactivated: assistiveserverclienteventty read fonwindowactivated write fonwindowactivated;
 
Published property onwindowdeactivated: assistiveserverclienteventty read fonwindowdeactivated write fonwindowdeactivated;
 
Published property onwindowclosed: assistiveserverclienteventty read fonwindowclosed write fonwindowclosed;
 
Published property onenter: assistiveserverclienteventty read fonenter write fonenter;
 
Published property onactivate: assistiveserverclienteventty read fonactivate write fonactivate;
 
Published property ondeactivate: assistiveserverclienteventty read fondeactivate write fondeactivate;
 
Published property onclientmouseevent: assistiveservermouseeventty read fonclientmouseevent write fonclientmouseevent;
 
Published property onfocuschanged: assistiveserverfocuschangedeventty read fonfocuschanged write fonfocuschanged;
 
Published property onkeydown: assistiveserverkeyeventty read fonkeydown write fonkeydown;
 
Published property onchange: assistiveserverclienteventty read fonchange write fonchange;
 
Published property ondataentered: assistiveserverdataeventty read fondataentered write fondataentered;
 
Published property ondbvaluechanged: assistiveserverdataeventty read fondbvaluechanged write fondbvaluechanged;
 
Published property oncellevent: assistiveservercelleventty read foncellevent write foncellevent;
 
Published property ongridbordertouched: assistiveservergriddirectioneventty read fongridbordertouched write fongridbordertouched;
 
Published property oneditcharenter: assistiveservereditstringeventty read foneditcharenter write foneditcharenter;
 
Published property oneditchardelete: assistiveservereditstringeventty read foneditchardelete write foneditchardelete;
 
Published property oneditwithdrawn: assistiveserverediteventty read foneditwithdrawn write foneditwithdrawn;
 
Published property oneditindexmoved: assistiveservereditindexeventty read foneditindexmoved write foneditindexmoved;
 
Published property oneditinputmodeset: assistiveservereditinputmodeeventty read foneditinputmodeset write foneditinputmodeset;
 
Published property onedittextblock: assistiveserveredittextblockeventty read fonedittextblock write fonedittextblock;
 
Published property onnavigbordertouched: assistiveserverdirectioneventty read fonnavigbordertouched write fonnavigbordertouched;
 
Published property ontabordertouched: assistiveserverbooleaneventty read fontabordertouched write fontabordertouched;
 
Published property onactionexecute: assistiveserveractioneventty read fonactionexecute write fonactionexecute;
 
Published property onitementer: assistiveserveritemeventty read fonitementer write fonitementer;
 
Published property onmenuactivated: assistiveservermenueventty read fonmenuactivated write fonmenuactivated;
 
Published property onmenuitementer: assistiveservermenuitemeventty read fonmenuitementer write fonmenuitementer;
 
Published property ondatasetevent: assistiveserverdataseteventty read fondatasetevent write fondatasetevent;
 

Generated by PasDoc 0.16.0.