C# Class UiaAtkBridge.Button

Inheritance: ComponentAdapter, Atk.IActionImplementor, Atk.ITextImplementor, Atk.IImageImplementor
显示文件 Open project: mono/uia2atk

Protected Properties

Property Type Description
actionName string
imageImplementor ImageImplementorHelper

Public Methods

Method 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

Protected Methods

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

Private Methods

Method Description
OnPressed ( ) : void
OnReleased ( ) : void

Method Details

AddSelection() public method

public AddSelection ( int startOffset, int endOffset ) : bool
startOffset int
endOffset int
return bool

Button() public method

public Button ( System.Windows.Automation.Provider.IRawElementProviderSimple provider ) : System
provider System.Windows.Automation.Provider.IRawElementProviderSimple
return System

DoAction() public method

public DoAction ( int action ) : bool
action int
return bool

GetBoundedRanges() public method

public GetBoundedRanges ( Atk rect, Atk coordType, Atk xClipType, Atk yClipType ) : Atk.TextRange
rect Atk
coordType Atk
xClipType Atk
yClipType Atk
return Atk.TextRange

GetCharacterAtOffset() public method

public GetCharacterAtOffset ( int offset ) : char
offset int
return char

GetCharacterExtents() public method

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

GetDescription() public method

public GetDescription ( int action ) : string
action int
return string

GetImagePosition() public method

public GetImagePosition ( int &x, int &y, Atk coordType ) : void
x int
y int
coordType Atk
return void

GetImageSize() public method

public GetImageSize ( int &width, int &height ) : void
width int
height int
return void

GetKeybinding() public method

public GetKeybinding ( int action ) : string
action int
return string

GetLocalizedName() public method

public GetLocalizedName ( int action ) : string
action int
return string

GetName() public method

public GetName ( int action ) : string
action int
return string

GetOffsetAtPoint() public method

public GetOffsetAtPoint ( int x, int y, Atk coords ) : int
x int
y int
coords Atk
return int

GetRangeExtents() public method

public GetRangeExtents ( int startOffset, int endOffset, Atk coordType, Atk &rect ) : void
startOffset int
endOffset int
coordType Atk
rect Atk
return void

GetRunAttributes() public method

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

GetSelection() public method

public GetSelection ( int selectionNum, int &startOffset, int &endOffset ) : string
selectionNum int
startOffset int
endOffset int
return string

GetText() public method

public GetText ( int startOffset, int endOffset ) : string
startOffset int
endOffset int
return string

GetTextAfterOffset() public method

public GetTextAfterOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
return string

GetTextAtOffset() public method

public GetTextAtOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
return string

GetTextBeforeOffset() public method

public GetTextBeforeOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
return string

InitializeAdditionalProviders() protected method

protected InitializeAdditionalProviders ( ) : void
return void

OnRefStateSet() protected method

protected OnRefStateSet ( ) : Atk.StateSet
return Atk.StateSet

RaiseAutomationEvent() public method

public RaiseAutomationEvent ( AutomationEvent eventId, AutomationEventArgs e ) : void
eventId System.Windows.Automation.AutomationEvent
e System.Windows.Automation.AutomationEventArgs
return void

RaiseAutomationPropertyChangedEvent() public method

public RaiseAutomationPropertyChangedEvent ( AutomationPropertyChangedEventArgs e ) : void
e System.Windows.Automation.AutomationPropertyChangedEventArgs
return void

RemoveSelection() public method

public RemoveSelection ( int selectionNum ) : bool
selectionNum int
return bool

SetCaretOffset() public method

public SetCaretOffset ( int offset ) : bool
offset int
return bool

SetDescription() public method

public SetDescription ( int action, string description ) : bool
action int
description string
return bool

SetImageDescription() public method

public SetImageDescription ( string description ) : bool
description string
return bool

SetSelection() public method

public SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool
selectionNum int
startOffset int
endOffset int
return bool

UpdateNameProperty() protected method

protected UpdateNameProperty ( string newName, bool fromCtor ) : void
newName string
fromCtor bool
return void

Property Details

actionName protected_oe property

protected string actionName
return string

imageImplementor protected_oe property

protected ImageImplementorHelper,UiaAtkBridge imageImplementor
return ImageImplementorHelper