C# Class SIL.FieldWorks.Common.RootSites.SimpleRootSiteTests.KeyboardThatSendsBackspacesAsForwardKeyEvents

Mock IBusCommunicator implementation that deletes current word when space is pressed, by sending backspaces as ForwardKeyEvents. It then resends the word in lower case.
Inheritance: ITestableIbusCommunicator
Show file Open project: sillsdev/FieldWorks

Public Methods

Method Description
CreateInputContext ( ) : void
Dispose ( ) : void
FocusIn ( ) : void
FocusOut ( ) : void
NotifySelectionLocationAndHeight ( int x, int y, int height ) : void
ProcessKeyEvent ( int keySym, int scanCode, Keys state ) : bool
Reset ( ) : void

Method Details

CreateInputContext() public method

public CreateInputContext ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

FocusIn() public method

public FocusIn ( ) : void
return void

FocusOut() public method

public FocusOut ( ) : void
return void

NotifySelectionLocationAndHeight() public method

public NotifySelectionLocationAndHeight ( int x, int y, int height ) : void
x int
y int
height int
return void

ProcessKeyEvent() public method

public ProcessKeyEvent ( int keySym, int scanCode, Keys state ) : bool
keySym int
scanCode int
state Keys
return bool

Reset() public method

public Reset ( ) : void
return void