C# 클래스 SIL.FieldWorks.Discourse.ConstChartBody

The main body of the chart, containing the actual view of the charted words.
상속: SIL.FieldWorks.Common.RootSites.RootSite
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CalculateHoverButtonHorizPosition int
GetCellInfo bool
GetIndexOfTopLevelObject int
InitializeComponent void
LogicalFromDisplay int
MakeRowSelection IVwSelection
SelectAndScrollToAnalysisOccurrence void
SelectAndScrollToBookmark void
SelectAndScrollToLoc void
SetHoverButtonLocation void
m_cellContextMenu_Closed void
m_logic_RowModifiedEvent void

공개 메소드들

메소드 설명
AdjustPrintDialog ( System.Windows.Forms.PrintDialog dlg ) : void

The constituent chart typically wants to take up all the page it can, in landscape mode! Enhance JohnT: eventually we should have a page layout diagram that allows at least this to be controlled.

ConstChartBody ( ConstituentChartLogic logic, ConstituentChart chart ) : System

Make one.

GetColumnContentsWidth ( int icolChanged ) : int

measures the width of the strings built by the display of a column and returns the maximumn width found. NOTE: you may need to add a small (e.g. under 10-pixel) margin to prevent wrapping in most cases.

MakeRoot ( ) : void
SetColWidths ( int widths ) : void
SetRoot ( IDsConstChart chart, ICmPossibility allColumns ) : void

Change the root chart. This version takes the actual chart object.

SetRoot ( int hvoChart, ICmPossibility allColumns ) : void

Change the root chart.

SetRoot ( int hvoChart, ICmPossibility allColumns, bool fRightToLeft ) : void

Change the root chart.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
GetPrintInfo ( int &hvo, IVwViewConstructor &vc, int &frag, IVwStylesheet &ss ) : void
OnHandleCreated ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

비공개 메소드들

메소드 설명
CalculateHoverButtonHorizPosition ( int columnIndex, bool fRtl ) : int
GetCellInfo ( MouseEventArgs e, SIL.FieldWorks.Discourse.ChartLocation &clickedCell, int &irow ) : bool

Get info about which cell the user clicked in.

GetIndexOfTopLevelObject ( TextSelInfo info, bool fEndPoint ) : int
InitializeComponent ( ) : void
LogicalFromDisplay ( int icol ) : int

Gets the logical column index from the display column index. (If the chart is for a RTL script, the 2 column orders are swapped.)

MakeRowSelection ( IConstChartRow row, bool fInstall ) : IVwSelection
SelectAndScrollToAnalysisOccurrence ( AnalysisOccurrence occurrence ) : void

Select and scroll to Chart location closest to an AnalysisOccurrence. Takes into account ChOrphs by finding nearest charted location.

SelectAndScrollToBookmark ( InterAreaBookmark bookmark ) : void

Selects and scrolls to the bookmarked location in the constituent chart.

SelectAndScrollToLoc ( SIL.FieldWorks.Discourse.ChartLocation chartLoc, bool fbookmark ) : void

Selects and scrolls to the bookmarked location in the constituent chart. This version assumes the bookmarked location has been charted, since the location is passed as a parameter.

SetHoverButtonLocation ( Rect cellRect, int columnIndex ) : void
m_cellContextMenu_Closed ( object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e ) : void
m_logic_RowModifiedEvent ( object sender, RowModifiedEventArgs e ) : void

메소드 상세

AdjustPrintDialog() 공개 메소드

The constituent chart typically wants to take up all the page it can, in landscape mode! Enhance JohnT: eventually we should have a page layout diagram that allows at least this to be controlled.
public AdjustPrintDialog ( System.Windows.Forms.PrintDialog dlg ) : void
dlg System.Windows.Forms.PrintDialog
리턴 void

ConstChartBody() 공개 메소드

Make one.
public ConstChartBody ( ConstituentChartLogic logic, ConstituentChart chart ) : System
logic ConstituentChartLogic
chart ConstituentChart
리턴 System

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetColumnContentsWidth() 공개 메소드

measures the width of the strings built by the display of a column and returns the maximumn width found. NOTE: you may need to add a small (e.g. under 10-pixel) margin to prevent wrapping in most cases.
public GetColumnContentsWidth ( int icolChanged ) : int
icolChanged int
리턴 int

GetPrintInfo() 보호된 메소드

protected GetPrintInfo ( int &hvo, IVwViewConstructor &vc, int &frag, IVwStylesheet &ss ) : void
hvo int
vc IVwViewConstructor
frag int
ss IVwStylesheet
리턴 void

MakeRoot() 공개 메소드

public MakeRoot ( ) : void
리턴 void

OnHandleCreated() 보호된 메소드

protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseDown() 보호된 메소드

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseLeave() 보호된 메소드

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

SetColWidths() 공개 메소드

public SetColWidths ( int widths ) : void
widths int
리턴 void

SetRoot() 공개 메소드

Change the root chart. This version takes the actual chart object.
public SetRoot ( IDsConstChart chart, ICmPossibility allColumns ) : void
chart IDsConstChart
allColumns ICmPossibility
리턴 void

SetRoot() 공개 메소드

Change the root chart.
public SetRoot ( int hvoChart, ICmPossibility allColumns ) : void
hvoChart int
allColumns ICmPossibility
리턴 void

SetRoot() 공개 메소드

Change the root chart.
public SetRoot ( int hvoChart, ICmPossibility allColumns, bool fRightToLeft ) : void
hvoChart int
allColumns ICmPossibility
fRightToLeft bool
리턴 void