C# Class Atspi.Text

显示文件 Open project: mono/at-spi-sharp Class Usage Examples

Public Methods

Method Description
AddSelection ( int startOffset, int endOffset ) : bool
GetAttributeRun ( int offset, int &startOffset, int &endOffset, bool includeDefaults ) : string>.IDictionary
GetAttributeValue ( int offset, string attributeName, int &startOffset, int &endOffset, bool &defined ) : string
GetBoundedRanges ( int x, int y, int width, int height, CoordType coordType, ClipType xClipType, ClipType yClipType ) : Atspi.RangeList[]
GetCharacterAtOffset ( int offset ) : int
GetCharacterExtents ( int offset, int &x, int &y, int &width, int &height, CoordType coordType ) : void
GetDefaultAttributeSet ( ) : string>.IDictionary
GetOffsetAtPoint ( int x, int y, CoordType coordType ) : int
GetRangeExtents ( int startOffset, int endOffset, int &x, int &y, int &width, int &height, CoordType coordType ) : void
GetSelection ( int selectionNum, int &startOffset, int &endOffset ) : void
GetText ( ) : string
GetText ( int startOffset, int endOffset ) : string
GetTextAfterOffset ( int offset, BoundaryType type, int &startOffset, int &endOffset ) : string
GetTextAtOffset ( int offset, BoundaryType type, int &startOffset, int &endOffset ) : string
GetTextBeforeOffset ( int offset, BoundaryType type, int &startOffset, int &endOffset ) : string
RemoveSelection ( int selectionNum ) : bool
SetCaretOffset ( int offset ) : bool
SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool
Text ( Accessible accessible ) : System

Method Details

AddSelection() public method

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

GetAttributeRun() public method

public GetAttributeRun ( int offset, int &startOffset, int &endOffset, bool includeDefaults ) : string>.IDictionary
offset int
startOffset int
endOffset int
includeDefaults bool
return string>.IDictionary

GetAttributeValue() public method

public GetAttributeValue ( int offset, string attributeName, int &startOffset, int &endOffset, bool &defined ) : string
offset int
attributeName string
startOffset int
endOffset int
defined bool
return string

GetBoundedRanges() public method

public GetBoundedRanges ( int x, int y, int width, int height, CoordType coordType, ClipType xClipType, ClipType yClipType ) : Atspi.RangeList[]
x int
y int
width int
height int
coordType CoordType
xClipType ClipType
yClipType ClipType
return Atspi.RangeList[]

GetCharacterAtOffset() public method

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

GetCharacterExtents() public method

public GetCharacterExtents ( int offset, int &x, int &y, int &width, int &height, CoordType coordType ) : void
offset int
x int
y int
width int
height int
coordType CoordType
return void

GetDefaultAttributeSet() public method

public GetDefaultAttributeSet ( ) : string>.IDictionary
return string>.IDictionary

GetOffsetAtPoint() public method

public GetOffsetAtPoint ( int x, int y, CoordType coordType ) : int
x int
y int
coordType CoordType
return int

GetRangeExtents() public method

public GetRangeExtents ( int startOffset, int endOffset, int &x, int &y, int &width, int &height, CoordType coordType ) : void
startOffset int
endOffset int
x int
y int
width int
height int
coordType CoordType
return void

GetSelection() public method

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

GetText() public method

public GetText ( ) : string
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, BoundaryType type, int &startOffset, int &endOffset ) : string
offset int
type BoundaryType
startOffset int
endOffset int
return string

GetTextAtOffset() public method

public GetTextAtOffset ( int offset, BoundaryType type, int &startOffset, int &endOffset ) : string
offset int
type BoundaryType
startOffset int
endOffset int
return string

GetTextBeforeOffset() public method

public GetTextBeforeOffset ( int offset, BoundaryType type, int &startOffset, int &endOffset ) : string
offset int
type BoundaryType
startOffset int
endOffset int
return string

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

Text() public method

public Text ( Accessible accessible ) : System
accessible Accessible
return System