C# Class UiaAtkBridge.MenuItem

Inheritance: Menu, Atk.IActionImplementor, Atk.ITextImplementor
Mostrar archivo Open project: mono/uia2atk

Private Properties

Property Type Description
AddOneChild void
Atk bool
DoClick bool
RequestChildren void

Public Methods

Method Description
AddSelection ( int startOffset, int endOffset ) : bool
DoAction ( int i ) : 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
GetDescription ( int i ) : string
GetKeybinding ( int i ) : string
GetLocalizedName ( int i ) : string
GetName ( int i ) : string
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
MenuItem ( System.Windows.Automation.Provider.IRawElementProviderSimple provider ) : System
RaiseAutomationPropertyChangedEvent ( AutomationPropertyChangedEventArgs e ) : void
SetCaretOffset ( int offset ) : bool
SetDescription ( int i, string desc ) : bool
SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool

Protected Methods

Method Description
AddChildToParent ( Atk child ) : void
MenuItem ( IntPtr ptr ) : System
OnChildrenChanged ( uint change_index, IntPtr changed_child ) : void
OnRefStateSet ( ) : Atk.StateSet

Private Methods

Method Description
AddOneChild ( Atk child ) : void
Atk ( int i ) : bool
DoClick ( ) : bool
RequestChildren ( ) : void

Method Details

AddChildToParent() protected method

protected AddChildToParent ( Atk child ) : void
child Atk
return void

AddSelection() public method

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

DoAction() public method

public DoAction ( int i ) : bool
i 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

GetDescription() public method

public GetDescription ( int i ) : string
i int
return string

GetKeybinding() public method

public GetKeybinding ( int i ) : string
i int
return string

GetLocalizedName() public method

public GetLocalizedName ( int i ) : string
i int
return string

GetName() public method

public GetName ( int i ) : string
i int
return string

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

MenuItem() public method

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

MenuItem() protected method

protected MenuItem ( IntPtr ptr ) : System
ptr System.IntPtr
return System

OnChildrenChanged() protected method

protected OnChildrenChanged ( uint change_index, IntPtr changed_child ) : void
change_index uint
changed_child System.IntPtr
return void

OnRefStateSet() protected method

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

RaiseAutomationPropertyChangedEvent() public method

public RaiseAutomationPropertyChangedEvent ( AutomationPropertyChangedEventArgs e ) : void
e System.Windows.Automation.AutomationPropertyChangedEventArgs
return void

SetCaretOffset() public method

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

SetDescription() public method

public SetDescription ( int i, string desc ) : bool
i int
desc string
return bool

SetSelection() public method

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