C# Class SIL.FieldWorks.LexText.Controls.WebPageInteractor

Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

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

Méthodes protégées

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

Method Details

AdjustForm() protected méthode

Modify the content of the form to use entities when needed
protected AdjustForm ( string sForm ) : string
sForm string form to adjust
Résultat string

GoToPreviousWordGrammarPage() public méthode

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
Résultat void

HandleDomClick() protected méthode

protected HandleDomClick ( object sender, Gecko.DomMouseEventArgs e ) : void
sender object
e Gecko.DomMouseEventArgs
Résultat void

JumpToToolBasedOnHvo() public méthode

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
Résultat void

ShowWordGrammarDetail() public méthode

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
Résultat void

TryGetHvo() protected méthode

protected TryGetHvo ( Gecko.GeckoElement element, int &hvo ) : bool
element Gecko.GeckoElement
hvo int
Résultat bool

TryWordGrammarAgain() public méthode

Try another pass in the Word Grammar Debugger
public TryWordGrammarAgain ( string sNodeId ) : void
sNodeId string the node id of the step to try
Résultat void

WebPageInteractor() public méthode

public WebPageInteractor ( HtmlControl htmlControl, XCore.Mediator mediator, FwTextBox tbWordForm ) : System
htmlControl XCore.HtmlControl
mediator XCore.Mediator
tbWordForm SIL.FieldWorks.Common.Widgets.FwTextBox
Résultat System