C# Класс SIL.FieldWorks.LexText.Controls.WebPageInteractor

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GoToPreviousWordGrammarPage ( ) : void

Back up a page in the Word Grammar Debugger

We cannot merely use the history mechanism of the html control because we need to keep track of the xml page source file as well as the html page. This info is kept in the WordGrammarStack.

JumpToToolBasedOnHvo ( int hvo ) : void

Have the main FLEx window jump to the appropriate item

ShowWordGrammarDetail ( string sNodeId ) : void

Show the first pass of the Word Grammar Debugger

TryWordGrammarAgain ( string sNodeId ) : void

Try another pass in the Word Grammar Debugger

WebPageInteractor ( HtmlControl htmlControl, XCore.Mediator mediator, FwTextBox tbWordForm ) : System

Защищенные методы

Метод Описание
AdjustForm ( string sForm ) : string

Modify the content of the form to use entities when needed

HandleDomClick ( object sender, Gecko.DomMouseEventArgs e ) : void
TryGetHvo ( Gecko.GeckoElement element, int &hvo ) : bool

Описание методов

AdjustForm() защищенный Метод

Modify the content of the form to use entities when needed
protected AdjustForm ( string sForm ) : string
sForm string form to adjust
Результат string

GoToPreviousWordGrammarPage() публичный Метод

Back up a page in the Word Grammar Debugger
We cannot merely use the history mechanism of the html control because we need to keep track of the xml page source file as well as the html page. This info is kept in the WordGrammarStack.
public GoToPreviousWordGrammarPage ( ) : void
Результат void

HandleDomClick() защищенный Метод

protected HandleDomClick ( object sender, Gecko.DomMouseEventArgs e ) : void
sender object
e Gecko.DomMouseEventArgs
Результат void

JumpToToolBasedOnHvo() публичный Метод

Have the main FLEx window jump to the appropriate item
public JumpToToolBasedOnHvo ( int hvo ) : void
hvo int item whose parent will indcate where to jump to
Результат void

ShowWordGrammarDetail() публичный Метод

Show the first pass of the Word Grammar Debugger
public ShowWordGrammarDetail ( string sNodeId ) : void
sNodeId string The node id in the XAmple trace to use
Результат void

TryGetHvo() защищенный Метод

protected TryGetHvo ( Gecko.GeckoElement element, int &hvo ) : bool
element Gecko.GeckoElement
hvo int
Результат bool

TryWordGrammarAgain() публичный Метод

Try another pass in the Word Grammar Debugger
public TryWordGrammarAgain ( string sNodeId ) : void
sNodeId string the node id of the step to try
Результат void

WebPageInteractor() публичный Метод

public WebPageInteractor ( HtmlControl htmlControl, XCore.Mediator mediator, FwTextBox tbWordForm ) : System
htmlControl XCore.HtmlControl
mediator XCore.Mediator
tbWordForm SIL.FieldWorks.Common.Widgets.FwTextBox
Результат System