C# Class AtspiUiaSource.AutomationSource

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

Private Properties

Property Type Description
FindFocusedAccessible Atspi.Accessible
IsAccessibilityEnabledDBus bool
IsAccessibilityEnabledGConf bool
IsElementInScope bool
OnChildAdded void
OnChildRemoved void
OnDescriptionChanged void
OnNameChanged void
OnRootElementsChanged void
OnStateChanged void
RaiseAutomationEvent void
RaiseAutomationEvent void
RaiseAutomationEvent void
RaiseFocusChangedEvent void
RaiseFocusChangedEvent void
RaisePropertyChangedEvent void
RaisePropertyChangedEvent void
RaisePropertyChangedEvent void
RaiseStructureChangedEvent void
SizeFits bool

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

Private Methods

Method Description
FindFocusedAccessible ( Accessible root ) : Accessible
IsAccessibilityEnabledDBus ( ) : bool
IsAccessibilityEnabledGConf ( ) : bool
IsElementInScope ( IElement target, IElement element, TreeScope scope ) : bool
OnChildAdded ( Accessible sender, Accessible child ) : void
OnChildRemoved ( Accessible sender, Accessible child ) : void
OnDescriptionChanged ( object sender, string oldDescription, string newDescription ) : void
OnNameChanged ( object sender, string oldName, string newName ) : void
OnRootElementsChanged ( ) : void
OnStateChanged ( Accessible sender, StateType state, bool set ) : void
RaiseAutomationEvent ( Accessible accessible, AutomationEvent eventId ) : void
RaiseAutomationEvent ( IElement element, AutomationEvent eventId ) : void
RaiseAutomationEvent ( IElement element, AutomationEventArgs e ) : void
RaiseFocusChangedEvent ( Accessible accessible ) : void
RaiseFocusChangedEvent ( IElement parent, IElement child ) : void
RaisePropertyChangedEvent ( Accessible accessible, AutomationProperty property, object oldValue, object newValue ) : void
RaisePropertyChangedEvent ( IElement element, AutomationProperty property, object oldValue, object newValue ) : void
RaisePropertyChangedEvent ( IElement element, AutomationPropertyChangedEventArgs e ) : void
RaiseStructureChangedEvent ( IElement element, StructureChangeType type ) : void
SizeFits ( BoundingBox extents, int x, int y, int width, int height ) : bool

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

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