C# Class UiaAtkBridge.TextLabel

Inheritance: ComponentAdapter, Atk.ITextImplementor
Afficher le fichier Open project: mono/uia2atk Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

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

Method Details

AddSelection() public méthode

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

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

OnRefStateSet() protected méthode

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

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

SetSelection() public méthode

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

TextLabel() public méthode

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

UpdateNameProperty() protected méthode

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