C# Class UiaAtkBridge.TextLabel

Inheritance: ComponentAdapter, Atk.ITextImplementor
Show file Open project: mono/uia2atk Class Usage Examples

Public Methods

Method Description
AddSelection ( int startOffset, int endOffset ) : 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
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
RemoveSelection ( int selectionNum ) : bool
SetCaretOffset ( int offset ) : bool
SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool
TextLabel ( System.Windows.Automation.Provider.IRawElementProviderSimple provider ) : System

Protected Methods

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

Method Details

AddSelection() public method

public AddSelection ( int startOffset, int endOffset ) : bool
startOffset int
endOffset 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

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

OnRefStateSet() protected method

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

RemoveSelection() public method

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

SetCaretOffset() public method

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

SetSelection() public method

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

TextLabel() public method

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

UpdateNameProperty() protected method

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