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
Mostra file Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description
CanSaveAnalysis bool
FixWs void
InitSandbox void
SaveChanges void
SetPadding void
SetSandboxLocation void
SetSandboxSize void
SetSandboxSizeForVc bool
TurnOnSandbox void

Public Methods

Method 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.

Protected Methods

Method 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

Method Description
CanSaveAnalysis ( ) : bool
FixWs ( ) : void
InitSandbox ( ) : void
SaveChanges ( ) : void
SetPadding ( ) : void
SetSandboxLocation ( ) : void
SetSandboxSize ( ) : void
SetSandboxSizeForVc ( ) : bool
TurnOnSandbox ( ) : void

Method Details

AnalysisInterlinearRs() public method

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
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

GetAvailWidth() public method

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
return int

HandleSandboxSizeChanged() public method

public HandleSandboxSizeChanged ( object sender, EventArgs ea ) : void
sender object
ea System.EventArgs
return void

MakeRoot() public method

Make the root box.
public MakeRoot ( ) : void
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnSizeChanged() protected method

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnValidating() protected method

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
return void