C# Class Mono.UIAutomation.UiaDbusSource.UiaDbusAutomationSource

Inheritance: IAutomationSource
Datei anzeigen Open project: mono/uia2atk Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

AddAutomationEventHandler() public method

public AddAutomationEventHandler ( AutomationEvent eventId, IElement element, TreeScope scope, AutomationEventHandler eventHandler ) : void
eventId System.Windows.Automation.AutomationEvent
element IElement
scope TreeScope
eventHandler AutomationEventHandler
return void

AddAutomationFocusChangedEventHandler() public method

public AddAutomationFocusChangedEventHandler ( FocusChangedEventHandler eventHandler ) : void
eventHandler FocusChangedEventHandler
return void

AddAutomationPropertyChangedEventHandler() public method

public AddAutomationPropertyChangedEventHandler ( IElement element, TreeScope scope, AutomationPropertyChangedEventHandler eventHandler, AutomationProperty properties ) : void
element IElement
scope TreeScope
eventHandler AutomationPropertyChangedEventHandler
properties System.Windows.Automation.AutomationProperty
return void

AddStructureChangedEventHandler() public method

public AddStructureChangedEventHandler ( IElement element, TreeScope scope, StructureChangedEventHandler eventHandler ) : void
element IElement
scope TreeScope
eventHandler StructureChangedEventHandler
return void

GetElementFromHandle() public method

public GetElementFromHandle ( IntPtr handle ) : IElement
handle System.IntPtr
return IElement

GetFocusedElement() public method

public GetFocusedElement ( ) : IElement
return IElement

GetOrCreateElement() public method

public GetOrCreateElement ( string busName, string elementPath ) : UiaDbusElement
busName string
elementPath string
return UiaDbusElement

GetRootElements() public method

public GetRootElements ( ) : IElement[]
return IElement[]

Initialize() public method

public Initialize ( ) : void
return void

RemoveAllEventHandlers() public method

public RemoveAllEventHandlers ( ) : void
return void

RemoveAutomationEventHandler() public method

public RemoveAutomationEventHandler ( AutomationEvent eventId, IElement element, AutomationEventHandler eventHandler ) : void
eventId System.Windows.Automation.AutomationEvent
element IElement
eventHandler AutomationEventHandler
return void

RemoveAutomationFocusChangedEventHandler() public method

public RemoveAutomationFocusChangedEventHandler ( FocusChangedEventHandler eventHandler ) : void
eventHandler FocusChangedEventHandler
return void

RemoveAutomationPropertyChangedEventHandler() public method

public RemoveAutomationPropertyChangedEventHandler ( IElement element, AutomationPropertyChangedEventHandler eventHandler ) : void
element IElement
eventHandler AutomationPropertyChangedEventHandler
return void

RemoveStructureChangedEventHandler() public method

public RemoveStructureChangedEventHandler ( IElement element, StructureChangedEventHandler eventHandler ) : void
element IElement
eventHandler StructureChangedEventHandler
return void

Terminate() public method

public Terminate ( ) : void
return void