C# 클래스 SIL.FieldWorks.Common.RootSites.SimpleRootSiteTests.KeyboardThatCommitsPreeditOnSpace

Mock IBusCommunicatior implementation. Typing is performed in a preedit. Upon pressing Space, the preedit is committed all at once (and in upper case). (cf PreeditDummyIBusCommunicator which commits each keystroke separately.)
상속: ITestableIbusCommunicator
파일 보기 프로젝트 열기: sillsdev/FieldWorks

보호된 프로퍼티들

프로퍼티 타입 설명
m_preedit string

공개 메소드들

메소드 설명
CreateInputContext ( ) : void
Dispose ( ) : void
FocusIn ( ) : void
FocusOut ( ) : void
KeyboardThatCommitsPreeditOnSpace ( ) : System
NotifySelectionLocationAndHeight ( int x, int y, int height ) : void
ProcessKeyEvent ( int keySym, int scanCode, Keys state ) : bool

Commit on space. Otherwise append to preedit.

Reset ( ) : void

보호된 메소드들

메소드 설명
CallCommitText ( string text ) : void
CallUpdatePreeditText ( string text, int cursor_pos ) : void
Commit ( char lastCharacterTyped ) : void
Dispose ( bool fDisposing ) : void
ToggleCase ( char input ) : char

메소드 상세

CallCommitText() 보호된 메소드

protected CallCommitText ( string text ) : void
text string
리턴 void

CallUpdatePreeditText() 보호된 메소드

protected CallUpdatePreeditText ( string text, int cursor_pos ) : void
text string
cursor_pos int
리턴 void

Commit() 보호된 메소드

protected Commit ( char lastCharacterTyped ) : void
lastCharacterTyped char
리턴 void

CreateInputContext() 공개 메소드

public CreateInputContext ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

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

FocusIn() 공개 메소드

public FocusIn ( ) : void
리턴 void

FocusOut() 공개 메소드

public FocusOut ( ) : void
리턴 void

KeyboardThatCommitsPreeditOnSpace() 공개 메소드

public KeyboardThatCommitsPreeditOnSpace ( ) : System
리턴 System

NotifySelectionLocationAndHeight() 공개 메소드

public NotifySelectionLocationAndHeight ( int x, int y, int height ) : void
x int
y int
height int
리턴 void

ProcessKeyEvent() 공개 메소드

Commit on space. Otherwise append to preedit.
public ProcessKeyEvent ( int keySym, int scanCode, Keys state ) : bool
keySym int
scanCode int
state Keys
리턴 bool

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

ToggleCase() 보호된 메소드

protected ToggleCase ( char input ) : char
input char
리턴 char

프로퍼티 상세

m_preedit 보호되어 있는 프로퍼티

protected string m_preedit
리턴 string