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

This class displays a one-line ribbon of interlinear text which keeps adding more at the end as stuff at the start gets moved into the main chart.
상속: SIL.FieldWorks.Common.RootSites.SimpleRootSite, IInterlinRibbon
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_InSelectionChanged bool
m_occurenceListId int

Private Properties

프로퍼티 타입 설명
EmitPropChanged void

공개 메소드들

메소드 설명
CacheRibbonItems ( List wordForms ) : void

Replaces cached ribbon words with input wordforms. Handles PropChanged, as UOW won't emit PropChanged to private Ribbon Decorator items.

GetAvailWidth ( IVwRootBox prootb ) : int

Suppress wrapping by allowing it to be as wide as desired. Todo: for RTL we will have to do something tricky about horizontal scrolling to see the actual text.

InterlinRibbon ( SIL.FieldWorks.FDO.FdoCache cache, int hvoRoot ) : System

Make one.

MakeInitialSelection ( ) : void
MakeRoot ( ) : void
SelectFirstOccurence ( ) : void
SetRoot ( int hvoStText ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
GetScrollOffsets ( int &dxd, int &dyd ) : void
HandleSelectionChange ( object sender, SIL.FieldWorks.Common.RootSites.VwSelectionArgs args ) : void

This override ensures that we always have whole objects selected. Enhance: it may cause flicker during drag, in which case, we may change to only do it on mouse up, or only IF the mouse is up.

OnEditingHelperCreated ( ) : void

Called when the editing helper is created.

OnLoad ( EventArgs e ) : void
SelectUpTo ( int end1 ) : void

비공개 메소드들

메소드 설명
EmitPropChanged ( ) : void

메소드 상세

CacheRibbonItems() 공개 메소드

Replaces cached ribbon words with input wordforms. Handles PropChanged, as UOW won't emit PropChanged to private Ribbon Decorator items.
public CacheRibbonItems ( List wordForms ) : void
wordForms List
리턴 void

Dispose() 보호된 메소드

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

GetAvailWidth() 공개 메소드

Suppress wrapping by allowing it to be as wide as desired. Todo: for RTL we will have to do something tricky about horizontal scrolling to see the actual text.
public GetAvailWidth ( IVwRootBox prootb ) : int
prootb IVwRootBox
리턴 int

GetScrollOffsets() 보호된 메소드

protected GetScrollOffsets ( int &dxd, int &dyd ) : void
dxd int
dyd int
리턴 void

HandleSelectionChange() 보호된 메소드

This override ensures that we always have whole objects selected. Enhance: it may cause flicker during drag, in which case, we may change to only do it on mouse up, or only IF the mouse is up.
protected HandleSelectionChange ( object sender, SIL.FieldWorks.Common.RootSites.VwSelectionArgs args ) : void
sender object
args SIL.FieldWorks.Common.RootSites.VwSelectionArgs
리턴 void

InterlinRibbon() 공개 메소드

Make one.
public InterlinRibbon ( SIL.FieldWorks.FDO.FdoCache cache, int hvoRoot ) : System
cache SIL.FieldWorks.FDO.FdoCache
hvoRoot int
리턴 System

MakeInitialSelection() 공개 메소드

public MakeInitialSelection ( ) : void
리턴 void

MakeRoot() 공개 메소드

public MakeRoot ( ) : void
리턴 void

OnEditingHelperCreated() 보호된 메소드

Called when the editing helper is created.
protected OnEditingHelperCreated ( ) : void
리턴 void

OnLoad() 보호된 메소드

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

SelectFirstOccurence() 공개 메소드

public SelectFirstOccurence ( ) : void
리턴 void

SelectUpTo() 보호된 메소드

protected SelectUpTo ( int end1 ) : void
end1 int
리턴 void

SetRoot() 공개 메소드

public SetRoot ( int hvoStText ) : void
hvoStText int
리턴 void

프로퍼티 상세

m_InSelectionChanged 보호되어 있는 프로퍼티

protected bool m_InSelectionChanged
리턴 bool

m_occurenceListId 보호되어 있는 프로퍼티

protected int m_occurenceListId
리턴 int