C# Class UiaAtkBridge.Button

Inheritance: ComponentAdapter, Atk.IActionImplementor, Atk.ITextImplementor, Atk.IImageImplementor
Afficher le fichier Open project: mono/uia2atk

Protected Properties

Свойство Type Description
actionName string
imageImplementor ImageImplementorHelper

Méthodes publiques

Méthode Description
AddSelection ( int startOffset, int endOffset ) : bool
Button ( System.Windows.Automation.Provider.IRawElementProviderSimple provider ) : System
DoAction ( int action ) : bool
GetBoundedRanges ( Atk rect, Atk coordType, Atk xClipType, Atk yClipType ) : Atk.TextRange
GetCharacterAtOffset ( int offset ) : char
GetCharacterExtents ( int offset, int &x, int &y, int &width, int &height, Atk coords ) : void
GetDescription ( int action ) : string
GetImagePosition ( int &x, int &y, Atk coordType ) : void
GetImageSize ( int &width, int &height ) : void
GetKeybinding ( int action ) : string
GetLocalizedName ( int action ) : string
GetName ( int action ) : string
GetOffsetAtPoint ( int x, int y, Atk coords ) : int
GetRangeExtents ( int startOffset, int endOffset, Atk coordType, Atk &rect ) : void
GetRunAttributes ( int offset, int &startOffset, int &endOffset ) : Atk.Attribute[]
GetSelection ( int selectionNum, int &startOffset, int &endOffset ) : string
GetText ( int startOffset, int endOffset ) : string
GetTextAfterOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
GetTextAtOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
GetTextBeforeOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
RaiseAutomationEvent ( AutomationEvent eventId, AutomationEventArgs e ) : void
RaiseAutomationPropertyChangedEvent ( AutomationPropertyChangedEventArgs e ) : void
RemoveSelection ( int selectionNum ) : bool
SetCaretOffset ( int offset ) : bool
SetDescription ( int action, string description ) : bool
SetImageDescription ( string description ) : bool
SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool

Méthodes protégées

Méthode Description
InitializeAdditionalProviders ( ) : void
OnRefStateSet ( ) : Atk.StateSet
UpdateNameProperty ( string newName, bool fromCtor ) : void

Private Methods

Méthode Description
OnPressed ( ) : void
OnReleased ( ) : void

Method Details

AddSelection() public méthode

public AddSelection ( int startOffset, int endOffset ) : bool
startOffset int
endOffset int
Résultat bool

Button() public méthode

public Button ( System.Windows.Automation.Provider.IRawElementProviderSimple provider ) : System
provider System.Windows.Automation.Provider.IRawElementProviderSimple
Résultat System

DoAction() public méthode

public DoAction ( int action ) : bool
action int
Résultat bool

GetBoundedRanges() public méthode

public GetBoundedRanges ( Atk rect, Atk coordType, Atk xClipType, Atk yClipType ) : Atk.TextRange
rect Atk
coordType Atk
xClipType Atk
yClipType Atk
Résultat Atk.TextRange

GetCharacterAtOffset() public méthode

public GetCharacterAtOffset ( int offset ) : char
offset int
Résultat char

GetCharacterExtents() public méthode

public GetCharacterExtents ( int offset, int &x, int &y, int &width, int &height, Atk coords ) : void
offset int
x int
y int
width int
height int
coords Atk
Résultat void

GetDescription() public méthode

public GetDescription ( int action ) : string
action int
Résultat string

GetImagePosition() public méthode

public GetImagePosition ( int &x, int &y, Atk coordType ) : void
x int
y int
coordType Atk
Résultat void

GetImageSize() public méthode

public GetImageSize ( int &width, int &height ) : void
width int
height int
Résultat void

GetKeybinding() public méthode

public GetKeybinding ( int action ) : string
action int
Résultat string

GetLocalizedName() public méthode

public GetLocalizedName ( int action ) : string
action int
Résultat string

GetName() public méthode

public GetName ( int action ) : string
action int
Résultat string

GetOffsetAtPoint() public méthode

public GetOffsetAtPoint ( int x, int y, Atk coords ) : int
x int
y int
coords Atk
Résultat int

GetRangeExtents() public méthode

public GetRangeExtents ( int startOffset, int endOffset, Atk coordType, Atk &rect ) : void
startOffset int
endOffset int
coordType Atk
rect Atk
Résultat void

GetRunAttributes() public méthode

public GetRunAttributes ( int offset, int &startOffset, int &endOffset ) : Atk.Attribute[]
offset int
startOffset int
endOffset int
Résultat Atk.Attribute[]

GetSelection() public méthode

public GetSelection ( int selectionNum, int &startOffset, int &endOffset ) : string
selectionNum int
startOffset int
endOffset int
Résultat string

GetText() public méthode

public GetText ( int startOffset, int endOffset ) : string
startOffset int
endOffset int
Résultat string

GetTextAfterOffset() public méthode

public GetTextAfterOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
Résultat string

GetTextAtOffset() public méthode

public GetTextAtOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
Résultat string

GetTextBeforeOffset() public méthode

public GetTextBeforeOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
Résultat string

InitializeAdditionalProviders() protected méthode

protected InitializeAdditionalProviders ( ) : void
Résultat void

OnRefStateSet() protected méthode

protected OnRefStateSet ( ) : Atk.StateSet
Résultat Atk.StateSet

RaiseAutomationEvent() public méthode

public RaiseAutomationEvent ( AutomationEvent eventId, AutomationEventArgs e ) : void
eventId System.Windows.Automation.AutomationEvent
e System.Windows.Automation.AutomationEventArgs
Résultat void

RaiseAutomationPropertyChangedEvent() public méthode

public RaiseAutomationPropertyChangedEvent ( AutomationPropertyChangedEventArgs e ) : void
e System.Windows.Automation.AutomationPropertyChangedEventArgs
Résultat void

RemoveSelection() public méthode

public RemoveSelection ( int selectionNum ) : bool
selectionNum int
Résultat bool

SetCaretOffset() public méthode

public SetCaretOffset ( int offset ) : bool
offset int
Résultat bool

SetDescription() public méthode

public SetDescription ( int action, string description ) : bool
action int
description string
Résultat bool

SetImageDescription() public méthode

public SetImageDescription ( string description ) : bool
description string
Résultat bool

SetSelection() public méthode

public SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool
selectionNum int
startOffset int
endOffset int
Résultat bool

UpdateNameProperty() protected méthode

protected UpdateNameProperty ( string newName, bool fromCtor ) : void
newName string
fromCtor bool
Résultat void

Property Details

actionName protected_oe property

protected string actionName
Résultat string

imageImplementor protected_oe property

protected ImageImplementorHelper,UiaAtkBridge imageImplementor
Résultat ImageImplementorHelper