C# Class UiaAtkBridge.Hyperlink

Inheritance: ComponentParentAdapter, Atk.ITextImplementor, Atk.IHypertextImplementor
Datei anzeigen 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
GetLink ( int link_index ) : Atk.Hyperlink
GetLinkIndex ( int char_index ) : int
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
Hyperlink ( System.Windows.Automation.Provider.IRawElementProviderSimple provider ) : System
RaiseAutomationEvent ( AutomationEvent eventId, AutomationEventArgs e ) : void
RaiseStructureChangedEvent ( object childProvider, StructureChangedEventArgs e ) : void
RemoveSelection ( int selectionNum ) : bool
SetCaretOffset ( int offset ) : bool
SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool

Protected Methods

Method Description
OnGetNChildren ( ) : int
OnRefStateSet ( ) : Atk.StateSet

Private Methods

Method Description
AdjustLinkObjects ( ) : 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

GetLink() public method

public GetLink ( int link_index ) : Atk.Hyperlink
link_index int
return Atk.Hyperlink

GetLinkIndex() public method

public GetLinkIndex ( int char_index ) : int
char_index int
return int

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

Hyperlink() public method

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

OnGetNChildren() protected method

protected OnGetNChildren ( ) : int
return int

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

RaiseStructureChangedEvent() public method

public RaiseStructureChangedEvent ( object childProvider, StructureChangedEventArgs e ) : void
childProvider object
e System.Windows.Automation.StructureChangedEventArgs
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

SetSelection() public method

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