C# Класс Mono.UIAutomation.UiaDbusSource.UiaDbusAutomationSource

Наследование: IAutomationSource
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddAutomationEventHandler ( AutomationEvent eventId, IElement element, TreeScope scope, AutomationEventHandler eventHandler ) : void
AddAutomationFocusChangedEventHandler ( FocusChangedEventHandler eventHandler ) : void
AddAutomationPropertyChangedEventHandler ( IElement element, TreeScope scope, AutomationPropertyChangedEventHandler eventHandler, AutomationProperty properties ) : void
AddStructureChangedEventHandler ( IElement element, TreeScope scope, StructureChangedEventHandler eventHandler ) : void
GetElementFromHandle ( IntPtr handle ) : IElement
GetFocusedElement ( ) : IElement
GetOrCreateElement ( string busName, string elementPath ) : UiaDbusElement
GetRootElements ( ) : IElement[]
Initialize ( ) : void
RemoveAllEventHandlers ( ) : void
RemoveAutomationEventHandler ( AutomationEvent eventId, IElement element, AutomationEventHandler eventHandler ) : void
RemoveAutomationFocusChangedEventHandler ( FocusChangedEventHandler eventHandler ) : void
RemoveAutomationPropertyChangedEventHandler ( IElement element, AutomationPropertyChangedEventHandler eventHandler ) : void
RemoveStructureChangedEventHandler ( IElement element, StructureChangedEventHandler eventHandler ) : void
Terminate ( ) : void

Приватные методы

Метод Описание
AbortMainLoop ( ) : void
BindApplicationEventHandlers ( string busName ) : void
BusNameOwnerChanged ( string name, string oldOwner, string newOwner ) : void
CheckMainLoop ( ) : void
CreateElement ( Mono.UIAutomation.UiaDbus.Interfaces dbusElement, string busName, string elementPath ) : UiaDbusElement
DeserializeAutomationPropertyValue ( string busName, int propId, object value ) : object
EnsureAutomationEventsSetUp ( Mono.UIAutomation.UiaDbus.Interfaces app, string busName ) : void
EnsurePropertyEventsSetUp ( Mono.UIAutomation.UiaDbus.Interfaces app, string busName ) : void
EnsureStructureEventsSetUp ( Mono.UIAutomation.UiaDbus.Interfaces app, string busName ) : void
FetchUiaDbusNames ( ) : void
GetOrCreateElements ( string busName, string paths ) : Mono.UIAutomation.UiaDbusSource.UiaDbusElement[]
GetUiaApplications ( ) : DCI.IApplication>.Dictionary
GetUiaDbusNames ( ) : string[]
IsUiaDbusName ( string busName ) : bool
MainLoop ( ) : void
OnRootElementsChanged ( ) : void
StartListenFocusChangedEvents ( ) : void

Описание методов

AddAutomationEventHandler() публичный Метод

public AddAutomationEventHandler ( AutomationEvent eventId, IElement element, TreeScope scope, AutomationEventHandler eventHandler ) : void
eventId System.Windows.Automation.AutomationEvent
element IElement
scope TreeScope
eventHandler AutomationEventHandler
Результат void

AddAutomationFocusChangedEventHandler() публичный Метод

public AddAutomationFocusChangedEventHandler ( FocusChangedEventHandler eventHandler ) : void
eventHandler FocusChangedEventHandler
Результат void

AddAutomationPropertyChangedEventHandler() публичный Метод

public AddAutomationPropertyChangedEventHandler ( IElement element, TreeScope scope, AutomationPropertyChangedEventHandler eventHandler, AutomationProperty properties ) : void
element IElement
scope TreeScope
eventHandler AutomationPropertyChangedEventHandler
properties System.Windows.Automation.AutomationProperty
Результат void

AddStructureChangedEventHandler() публичный Метод

public AddStructureChangedEventHandler ( IElement element, TreeScope scope, StructureChangedEventHandler eventHandler ) : void
element IElement
scope TreeScope
eventHandler StructureChangedEventHandler
Результат void

GetElementFromHandle() публичный Метод

public GetElementFromHandle ( IntPtr handle ) : IElement
handle System.IntPtr
Результат IElement

GetFocusedElement() публичный Метод

public GetFocusedElement ( ) : IElement
Результат IElement

GetOrCreateElement() публичный Метод

public GetOrCreateElement ( string busName, string elementPath ) : UiaDbusElement
busName string
elementPath string
Результат UiaDbusElement

GetRootElements() публичный Метод

public GetRootElements ( ) : IElement[]
Результат IElement[]

Initialize() публичный Метод

public Initialize ( ) : void
Результат void

RemoveAllEventHandlers() публичный Метод

public RemoveAllEventHandlers ( ) : void
Результат void

RemoveAutomationEventHandler() публичный Метод

public RemoveAutomationEventHandler ( AutomationEvent eventId, IElement element, AutomationEventHandler eventHandler ) : void
eventId System.Windows.Automation.AutomationEvent
element IElement
eventHandler AutomationEventHandler
Результат void

RemoveAutomationFocusChangedEventHandler() публичный Метод

public RemoveAutomationFocusChangedEventHandler ( FocusChangedEventHandler eventHandler ) : void
eventHandler FocusChangedEventHandler
Результат void

RemoveAutomationPropertyChangedEventHandler() публичный Метод

public RemoveAutomationPropertyChangedEventHandler ( IElement element, AutomationPropertyChangedEventHandler eventHandler ) : void
element IElement
eventHandler AutomationPropertyChangedEventHandler
Результат void

RemoveStructureChangedEventHandler() публичный Метод

public RemoveStructureChangedEventHandler ( IElement element, StructureChangedEventHandler eventHandler ) : void
element IElement
eventHandler StructureChangedEventHandler
Результат void

Terminate() публичный Метод

public Terminate ( ) : void
Результат void