Class tassistivehandler
Unit
Declaration
type tassistivehandler = class(tmsecomponent, iassistiveserver, istatfile)
Description
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tassistivehandler
Overview
Fields
fstate: assistivehandlerstatesty; |
|
fspeaklock: int32; |
|
fdataenteredkeyserial: card32; |
|
fitems: tassistivewidgetitemlist; |
|
fgridintf: iassistiveclientgrid; |
|
fnewcell: gridcoordty; |
|
fnewcol: boolean; |
Methods
procedure activate(); |
|
procedure deactivate(); |
|
procedure loaded() override; |
|
function canspeak(): boolean; |
|
procedure startspeak(); |
|
procedure registeritem(const aintf: iassistiveclient; const aitem: tassistivewidgetitem); |
|
procedure unregisteritem(const aintf: iassistiveclient); |
|
function finditem(aintf: iassistiveclient; out aitem: tassistivewidgetitem): boolean; |
|
procedure doshortcut(const sender: twidget; var info: keyeventinfoty); |
|
procedure dospeakagain(const sender: twidget); |
|
procedure dospeakpath(const sender: twidget); |
|
procedure checklocatepending(const sender: iassistiveclient); |
|
function gettextvoice(const aflags: assistiveflagsty): int32; |
|
procedure doapplicationactivated(); |
|
procedure doapplicationdeactivated(); |
|
procedure dowindowactivated(const sender: iassistiveclient); |
|
procedure dowindowdeactivated(const sender: iassistiveclient); |
|
procedure dowindowclosed(const sender: iassistiveclient); |
|
procedure doenter(const sender: iassistiveclient); |
|
procedure doactivate(const sender: iassistiveclient); |
|
procedure dodeactivate(const sender: iassistiveclient); |
|
procedure doclientmouseevent(const sender: iassistiveclient; const info: mouseeventinfoty); |
|
procedure dokeydown(const sender: iassistiveclient; const info: keyeventinfoty); |
|
procedure dochange(const sender: iassistiveclient); |
|
procedure dodataentered(const sender: iassistiveclientdata); |
|
procedure dodbvaluechanged(const sender: iassistiveclientdata); |
|
procedure docellevent(const sender: iassistiveclientgrid; const info: celleventinfoty); |
|
procedure dogridbordertouched(const sender: iassistiveclientgrid; const adirection: graphicdirectionty); |
|
procedure doeditcharenter(const sender: iassistiveclientedit; const achar: msestring); |
|
procedure doeditchardelete(const sender: iassistiveclientedit; const achar: msestring); |
|
procedure doeditindexmoved(const sender: iassistiveclientedit; const aindex: int32); |
|
procedure doeditwithdrawn(const sender: iassistiveclientedit); |
|
procedure doedittextblock(const sender: iassistiveclientedit; const amode: edittextblockmodety; const atext: msestring); |
|
procedure doeditinputmodeset(const sender: iassistiveclientedit; const amode: editinputmodety); |
|
procedure donavigbordertouched(const sender: iassistiveclient; const adirection: graphicdirectionty); |
|
procedure dotabordertouched(const sender: iassistiveclient; const adown: boolean); |
|
procedure dofocuschanged(const sender: iassistiveclient; const oldwidget,newwidget: iassistiveclient); |
|
procedure doactionexecute(const sender: iassistiveclient; const senderobj: tobject; const info: actioninfoty); |
|
procedure doitementer(const sender: iassistiveclient; const items: shapeinfoarty; const aindex: integer); |
|
procedure domenuactivated(const sender: iassistiveclientmenu); |
|
procedure doitementer(const sender: iassistiveclientmenu; const items: menucellinfoarty; const aindex: integer); |
|
procedure dodatasetevent(const sender: iassistiveclient; const akind: assistivedbeventkindty; const adataset: pointer); |
|
procedure dostatread(const reader: tstatreader) virtual; |
|
procedure dostatwrite(const writer: tstatwriter) virtual; |
|
procedure statreading(); |
|
procedure statread(); |
|
function getstatvarname(): msestring; |
|
function getstatpriority(): integer; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy(); override; |
|
procedure initnewcomponent(const ascale: real) override; |
|
procedure setstate(const astate: assistivehandlerstatesty); |
|
procedure resetstate(const astate: assistivehandlerstatesty); |
|
procedure speakstop(const acancel: boolean = false); |
|
procedure speakcontinue(); |
|
procedure wait(); |
|
procedure cancel(); |
|
procedure speaktext(const atext: msestring; const avoice: int32 = 0; const nocut: boolean = false); |
|
procedure speaktext1(const atext: msestring; const avoice: int32 = 0; const nocut: boolean = false); |
|
procedure speaktext(const atext: stockcaptionty; const avoice: int32 = 0; const nocut: boolean = false); |
|
procedure speaktext1(const atext: stockcaptionty; const avoice: int32 = 0; const nocut: boolean = false); |
|
procedure speakcharacter(const achar: char32; const avoice: int32 = 0; const nocut: boolean = false); |
|
procedure speakall(const sender: iassistiveclient; aoptions: speakoptionsty); |
|
procedure speakall(const sender: twidget; aoptions: speakoptionsty); |
|
procedure speakgridcell(const sender: iassistiveclientgrid; const acell: gridcoordty; const acaption: boolean); |
|
procedure speakinput(const sender: iassistiveclientdata); |
|
procedure speakmenustart(const sender: iassistiveclient); |
|
procedure speakallmenu(const sender: iassistiveclientmenu; const ahint: boolean); |
|
function getcaptiontext(const acaption: msestring): msestring; |
|
function getcaptiontext(const sender: iassistiveclient): msestring; |
|
function gettexttext(const sender: iassistiveclient): msestring; |
|
function gethinttext(const sender: iassistiveclient): msestring; |
|
procedure focusfirstelement(const awidget: twidget); |
|
procedure focuslastelement(const awidget: twidget); |
Properties
property state: assistivehandlerstatesty read fstate; |
|
property statfile: tstatfile read fstatfile write setstatfile; |
|
property statvarname: msestring read fstatvarname write fstatvarname; |
|
property statpriority: int32 read fstatpriority
write fstatpriority default 0; |
|
property active: boolean read factive write setactive default false; |
|
property options: assistiveoptionsty read foptions
write setoptions default defaultassistiveoptions; |
|
property speaker: tassistivespeak read fspeaker write setspeaker; |
|
property voicefixed: int32 read fvoicefixed
write fvoicefixed default 0; |
|
property maincaption: msestring read fmaincaption write fmaincaption; |
|
property voicecaption: int32 read fvoicecaption
write fvoicecaption default 0; |
|
property voicetextmessage: int32 read fvoicetextmessage
write fvoicetextmessage default 0; |
|
property voicetext: int32 read fvoicetext
write fvoicetext default 0; |
|
property voicetextdisp: int32 read fvoicetextdisp
write fvoicetextdisp default 0; |
|
property voicetextedit: int32 read fvoicetextedit
write fvoicetextedit default 0; |
|
property voicetexteditreadonly: int32 read fvoicetexteditreadonly
write fvoicetexteditreadonly default 0; |
|
property onapplicationactivated: assistiveservereventty
read fonapplicationactivated write fonapplicationactivated; |
|
property onapplicationdeactivated: assistiveservereventty
read fonapplicationdeactivated write fonapplicationdeactivated; |
|
property onwindowactivated: assistiveserverclienteventty
read fonwindowactivated write fonwindowactivated; |
|
property onwindowdeactivated: assistiveserverclienteventty
read fonwindowdeactivated write fonwindowdeactivated; |
|
property onwindowclosed: assistiveserverclienteventty read fonwindowclosed
write fonwindowclosed; |
|
property onenter: assistiveserverclienteventty read fonenter write fonenter; |
|
property onactivate: assistiveserverclienteventty read fonactivate
write fonactivate; |
|
property ondeactivate: assistiveserverclienteventty read fondeactivate
write fondeactivate; |
|
property onclientmouseevent: assistiveservermouseeventty
read fonclientmouseevent write fonclientmouseevent; |
|
property onfocuschanged: assistiveserverfocuschangedeventty
read fonfocuschanged write fonfocuschanged; |
|
property onkeydown: assistiveserverkeyeventty read fonkeydown
write fonkeydown; |
|
property onchange: assistiveserverclienteventty read fonchange
write fonchange; |
|
property ondataentered: assistiveserverdataeventty read fondataentered
write fondataentered; |
|
property ondbvaluechanged: assistiveserverdataeventty read fondbvaluechanged
write fondbvaluechanged; |
|
property oncellevent: assistiveservercelleventty read foncellevent
write foncellevent; |
|
property ongridbordertouched: assistiveservergriddirectioneventty
read fongridbordertouched write fongridbordertouched; |
|
property oneditcharenter: assistiveservereditstringeventty
read foneditcharenter write foneditcharenter; |
|
property oneditchardelete: assistiveservereditstringeventty
read foneditchardelete write foneditchardelete; |
|
property oneditwithdrawn: assistiveserverediteventty read foneditwithdrawn
write foneditwithdrawn; |
|
property oneditindexmoved: assistiveservereditindexeventty
read foneditindexmoved write foneditindexmoved; |
|
property oneditinputmodeset: assistiveservereditinputmodeeventty
read foneditinputmodeset write foneditinputmodeset; |
|
property onedittextblock: assistiveserveredittextblockeventty
read fonedittextblock write fonedittextblock; |
|
property onnavigbordertouched: assistiveserverdirectioneventty
read fonnavigbordertouched write fonnavigbordertouched; |
|
property ontabordertouched: assistiveserverbooleaneventty
read fontabordertouched write fontabordertouched; |
|
property onactionexecute: assistiveserveractioneventty read fonactionexecute
write fonactionexecute; |
|
property onitementer: assistiveserveritemeventty read fonitementer
write fonitementer; |
|
property onmenuactivated: assistiveservermenueventty
read fonmenuactivated write fonmenuactivated; |
|
property onmenuitementer: assistiveservermenuitemeventty
read fonmenuitementer write fonmenuitementer; |
|
property ondatasetevent: assistiveserverdataseteventty
read fondatasetevent write fondatasetevent; |
Description
Fields
fstate: assistivehandlerstatesty; |
|
fspeaklock: int32; |
|
fdataenteredkeyserial: card32; |
|
fitems: tassistivewidgetitemlist; |
|
fgridintf: iassistiveclientgrid; |
|
fnewcell: gridcoordty; |
|
fnewcol: boolean; |
|
Methods
procedure activate(); |
|
procedure deactivate(); |
|
procedure loaded() override; |
|
function canspeak(): boolean; |
|
procedure startspeak(); |
|
procedure registeritem(const aintf: iassistiveclient; const aitem: tassistivewidgetitem); |
|
procedure unregisteritem(const aintf: iassistiveclient); |
|
function finditem(aintf: iassistiveclient; out aitem: tassistivewidgetitem): boolean; |
|
procedure doshortcut(const sender: twidget; var info: keyeventinfoty); |
|
procedure dospeakagain(const sender: twidget); |
|
procedure dospeakpath(const sender: twidget); |
|
procedure checklocatepending(const sender: iassistiveclient); |
|
function gettextvoice(const aflags: assistiveflagsty): int32; |
|
procedure doapplicationactivated(); |
|
procedure doapplicationdeactivated(); |
|
procedure dowindowactivated(const sender: iassistiveclient); |
|
procedure dowindowdeactivated(const sender: iassistiveclient); |
|
procedure dowindowclosed(const sender: iassistiveclient); |
|
procedure doenter(const sender: iassistiveclient); |
|
procedure doactivate(const sender: iassistiveclient); |
|
procedure dodeactivate(const sender: iassistiveclient); |
|
procedure doclientmouseevent(const sender: iassistiveclient; const info: mouseeventinfoty); |
|
procedure dokeydown(const sender: iassistiveclient; const info: keyeventinfoty); |
|
procedure dochange(const sender: iassistiveclient); |
|
procedure dodataentered(const sender: iassistiveclientdata); |
|
procedure dodbvaluechanged(const sender: iassistiveclientdata); |
|
procedure docellevent(const sender: iassistiveclientgrid; const info: celleventinfoty); |
|
procedure dogridbordertouched(const sender: iassistiveclientgrid; const adirection: graphicdirectionty); |
|
procedure doeditcharenter(const sender: iassistiveclientedit; const achar: msestring); |
|
procedure doeditchardelete(const sender: iassistiveclientedit; const achar: msestring); |
|
procedure doeditindexmoved(const sender: iassistiveclientedit; const aindex: int32); |
|
procedure doeditwithdrawn(const sender: iassistiveclientedit); |
|
procedure doedittextblock(const sender: iassistiveclientedit; const amode: edittextblockmodety; const atext: msestring); |
|
procedure doeditinputmodeset(const sender: iassistiveclientedit; const amode: editinputmodety); |
|
procedure donavigbordertouched(const sender: iassistiveclient; const adirection: graphicdirectionty); |
|
procedure dotabordertouched(const sender: iassistiveclient; const adown: boolean); |
|
procedure dofocuschanged(const sender: iassistiveclient; const oldwidget,newwidget: iassistiveclient); |
|
procedure doactionexecute(const sender: iassistiveclient; const senderobj: tobject; const info: actioninfoty); |
|
procedure doitementer(const sender: iassistiveclient; const items: shapeinfoarty; const aindex: integer); |
|
procedure domenuactivated(const sender: iassistiveclientmenu); |
|
procedure doitementer(const sender: iassistiveclientmenu; const items: menucellinfoarty; const aindex: integer); |
|
procedure dodatasetevent(const sender: iassistiveclient; const akind: assistivedbeventkindty; const adataset: pointer); |
|
procedure dostatread(const reader: tstatreader) virtual; |
|
procedure dostatwrite(const writer: tstatwriter) virtual; |
|
procedure statreading(); |
|
procedure statread(); |
|
function getstatvarname(): msestring; |
|
function getstatpriority(): integer; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy(); override; |
|
procedure initnewcomponent(const ascale: real) override; |
|
procedure setstate(const astate: assistivehandlerstatesty); |
|
procedure resetstate(const astate: assistivehandlerstatesty); |
|
procedure speakstop(const acancel: boolean = false); |
|
procedure speakcontinue(); |
|
procedure wait(); |
|
procedure cancel(); |
|
procedure speaktext(const atext: msestring; const avoice: int32 = 0; const nocut: boolean = false); |
|
procedure speaktext1(const atext: msestring; const avoice: int32 = 0; const nocut: boolean = false); |
|
procedure speaktext(const atext: stockcaptionty; const avoice: int32 = 0; const nocut: boolean = false); |
|
procedure speaktext1(const atext: stockcaptionty; const avoice: int32 = 0; const nocut: boolean = false); |
|
procedure speakcharacter(const achar: char32; const avoice: int32 = 0; const nocut: boolean = false); |
|
procedure speakall(const sender: iassistiveclient; aoptions: speakoptionsty); |
|
procedure speakall(const sender: twidget; aoptions: speakoptionsty); |
|
procedure speakgridcell(const sender: iassistiveclientgrid; const acell: gridcoordty; const acaption: boolean); |
|
procedure speakinput(const sender: iassistiveclientdata); |
|
procedure speakmenustart(const sender: iassistiveclient); |
|
procedure speakallmenu(const sender: iassistiveclientmenu; const ahint: boolean); |
|
function getcaptiontext(const acaption: msestring): msestring; |
|
function getcaptiontext(const sender: iassistiveclient): msestring; |
|
function gettexttext(const sender: iassistiveclient): msestring; |
|
function gethinttext(const sender: iassistiveclient): msestring; |
|
procedure focusfirstelement(const awidget: twidget); |
|
procedure focuslastelement(const awidget: twidget); |
|
Properties
property state: assistivehandlerstatesty read fstate; |
|
property statfile: tstatfile read fstatfile write setstatfile; |
|
property statvarname: msestring read fstatvarname write fstatvarname; |
|
property statpriority: int32 read fstatpriority
write fstatpriority default 0; |
|
property active: boolean read factive write setactive default false; |
|
property options: assistiveoptionsty read foptions
write setoptions default defaultassistiveoptions; |
|
property speaker: tassistivespeak read fspeaker write setspeaker; |
|
property voicefixed: int32 read fvoicefixed
write fvoicefixed default 0; |
|
property maincaption: msestring read fmaincaption write fmaincaption; |
|
property voicecaption: int32 read fvoicecaption
write fvoicecaption default 0; |
|
property voicetextmessage: int32 read fvoicetextmessage
write fvoicetextmessage default 0; |
|
property voicetext: int32 read fvoicetext
write fvoicetext default 0; |
|
property voicetextdisp: int32 read fvoicetextdisp
write fvoicetextdisp default 0; |
|
property voicetextedit: int32 read fvoicetextedit
write fvoicetextedit default 0; |
|
property voicetexteditreadonly: int32 read fvoicetexteditreadonly
write fvoicetexteditreadonly default 0; |
|
property onapplicationactivated: assistiveservereventty
read fonapplicationactivated write fonapplicationactivated; |
|
property onapplicationdeactivated: assistiveservereventty
read fonapplicationdeactivated write fonapplicationdeactivated; |
|
property onwindowactivated: assistiveserverclienteventty
read fonwindowactivated write fonwindowactivated; |
|
property onwindowdeactivated: assistiveserverclienteventty
read fonwindowdeactivated write fonwindowdeactivated; |
|
property onwindowclosed: assistiveserverclienteventty read fonwindowclosed
write fonwindowclosed; |
|
property onenter: assistiveserverclienteventty read fonenter write fonenter; |
|
property onactivate: assistiveserverclienteventty read fonactivate
write fonactivate; |
|
property ondeactivate: assistiveserverclienteventty read fondeactivate
write fondeactivate; |
|
property onclientmouseevent: assistiveservermouseeventty
read fonclientmouseevent write fonclientmouseevent; |
|
property onfocuschanged: assistiveserverfocuschangedeventty
read fonfocuschanged write fonfocuschanged; |
|
property onkeydown: assistiveserverkeyeventty read fonkeydown
write fonkeydown; |
|
property onchange: assistiveserverclienteventty read fonchange
write fonchange; |
|
property ondataentered: assistiveserverdataeventty read fondataentered
write fondataentered; |
|
property ondbvaluechanged: assistiveserverdataeventty read fondbvaluechanged
write fondbvaluechanged; |
|
property oncellevent: assistiveservercelleventty read foncellevent
write foncellevent; |
|
property ongridbordertouched: assistiveservergriddirectioneventty
read fongridbordertouched write fongridbordertouched; |
|
property oneditcharenter: assistiveservereditstringeventty
read foneditcharenter write foneditcharenter; |
|
property oneditchardelete: assistiveservereditstringeventty
read foneditchardelete write foneditchardelete; |
|
property oneditwithdrawn: assistiveserverediteventty read foneditwithdrawn
write foneditwithdrawn; |
|
property oneditindexmoved: assistiveservereditindexeventty
read foneditindexmoved write foneditindexmoved; |
|
property oneditinputmodeset: assistiveservereditinputmodeeventty
read foneditinputmodeset write foneditinputmodeset; |
|
property onedittextblock: assistiveserveredittextblockeventty
read fonedittextblock write fonedittextblock; |
|
property onnavigbordertouched: assistiveserverdirectioneventty
read fonnavigbordertouched write fonnavigbordertouched; |
|
property ontabordertouched: assistiveserverbooleaneventty
read fontabordertouched write fontabordertouched; |
|
property onactionexecute: assistiveserveractioneventty read fonactionexecute
write fonactionexecute; |
|
property onitementer: assistiveserveritemeventty read fonitementer
write fonitementer; |
|
property onmenuactivated: assistiveservermenueventty
read fonmenuactivated write fonmenuactivated; |
|
property onmenuitementer: assistiveservermenuitemeventty
read fonmenuitementer write fonmenuitementer; |
|
property ondatasetevent: assistiveserverdataseteventty
read fondatasetevent write fondatasetevent; |
|
Generated by PasDoc 0.16.0.