C# Class UiaAtkBridge.Spinner

Adapter for a ControlType.Spinner that does not implement SelectionPattern.
Inheritance: ComponentAdapter, Atk.ITextImplementor, Atk.IEditableTextImplementor
Mostrar archivo Open project: mono/uia2atk

Protected Properties

Property Type Description
rangeValueProvider IRangeValueProvider
valueProvider IValueProvider

Public Methods

Method Description
AddSelection ( int startOffset, int endOffset ) : bool
CopyText ( int start_pos, int end_pos ) : void
CutText ( int start_pos, int end_pos ) : void
DeleteText ( int start_pos, int end_pos ) : void
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
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
InsertText ( string text, int &position ) : void
PasteText ( int position ) : void
RaiseAutomationPropertyChangedEvent ( AutomationPropertyChangedEventArgs e ) : void
RemoveSelection ( int selectionNum ) : bool
SetCaretOffset ( int offset ) : bool
SetRunAttributes ( GLib attrib_set, int start_offset, int end_offset ) : bool
SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool
Spinner ( System.Windows.Automation.Provider.IRawElementProviderSimple provider ) : System

Protected Methods

Method Description
OnRefStateSet ( ) : Atk.StateSet

Private Methods

Method Description
NewText ( string newText ) : void

Method Details

AddSelection() public method

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

CopyText() public method

public CopyText ( int start_pos, int end_pos ) : void
start_pos int
end_pos int
return void

CutText() public method

public CutText ( int start_pos, int end_pos ) : void
start_pos int
end_pos int
return void

DeleteText() public method

public DeleteText ( int start_pos, int end_pos ) : void
start_pos int
end_pos int
return void

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

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

InsertText() public method

public InsertText ( string text, int &position ) : void
text string
position int
return void

OnRefStateSet() protected method

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

PasteText() public method

public PasteText ( int position ) : void
position int
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

SetRunAttributes() public method

public SetRunAttributes ( GLib attrib_set, int start_offset, int end_offset ) : bool
attrib_set GLib
start_offset int
end_offset int
return bool

SetSelection() public method

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

Spinner() public method

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

Property Details

rangeValueProvider protected_oe property

protected IRangeValueProvider rangeValueProvider
return IRangeValueProvider

valueProvider protected_oe property

protected IValueProvider valueProvider
return IValueProvider