C# Class SIL.FieldWorks.XWorks.MorphologyEditor.AnalysisInterlinearRs

This is the main class for the interlinear text control view of one analysis of one wordform.
Inheritance: SIL.FieldWorks.Common.RootSites.RootSite, INotifyControlInCurrentSlice
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Свойство Type Description
CanSaveAnalysis bool
FixWs void
InitSandbox void
SaveChanges void
SetPadding void
SetSandboxLocation void
SetSandboxSize void
SetSandboxSizeForVc bool
TurnOnSandbox void

Méthodes publiques

Méthode Description
AnalysisInterlinearRs ( SIL.FieldWorks.FDO.FdoCache cache, IWfiAnalysis analysis, XmlNode configurationNode, SIL.Utils.StringTable stringTable ) : System

Make one. Everything interesting happens when it is given a root object, however.

GetAvailWidth ( IVwRootBox prootb ) : int

Giving it a large maximum width independent of the container causes it to lay out at full width and scroll horizontally.

HandleSandboxSizeChanged ( object sender, EventArgs ea ) : void
MakeRoot ( ) : void

Make the root box.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnMouseDown ( MouseEventArgs e ) : void
OnSizeChanged ( EventArgs e ) : void
OnValidating ( CancelEventArgs e ) : void

This method seems to get called when we are switching to another tool (or area, or slice) AND when the program is shutting down. This makes it a good point to save our changes.

Private Methods

Méthode Description
CanSaveAnalysis ( ) : bool
FixWs ( ) : void
InitSandbox ( ) : void
SaveChanges ( ) : void
SetPadding ( ) : void
SetSandboxLocation ( ) : void
SetSandboxSize ( ) : void
SetSandboxSizeForVc ( ) : bool
TurnOnSandbox ( ) : void

Method Details

AnalysisInterlinearRs() public méthode

Make one. Everything interesting happens when it is given a root object, however.
public AnalysisInterlinearRs ( SIL.FieldWorks.FDO.FdoCache cache, IWfiAnalysis analysis, XmlNode configurationNode, SIL.Utils.StringTable stringTable ) : System
cache SIL.FieldWorks.FDO.FdoCache
analysis IWfiAnalysis
configurationNode System.Xml.XmlNode
stringTable SIL.Utils.StringTable
Résultat System

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetAvailWidth() public méthode

Giving it a large maximum width independent of the container causes it to lay out at full width and scroll horizontally.
public GetAvailWidth ( IVwRootBox prootb ) : int
prootb IVwRootBox
Résultat int

HandleSandboxSizeChanged() public méthode

public HandleSandboxSizeChanged ( object sender, EventArgs ea ) : void
sender object
ea System.EventArgs
Résultat void

MakeRoot() public méthode

Make the root box.
public MakeRoot ( ) : void
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnSizeChanged() protected méthode

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnValidating() protected méthode

This method seems to get called when we are switching to another tool (or area, or slice) AND when the program is shutting down. This makes it a good point to save our changes.
protected OnValidating ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void