C# Class SIL.FieldWorks.FwCoreDlgs.DummyValidCharactersDlg

Inheritance: ValidCharactersDlg
Mostra file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
CallAddSingleCharacter ( FwTextBox txt ) : void

Exposes AddSingleCharacter method

DummyValidCharactersDlg ( ) : System

Sets up the ValidCharactersDlg for testing.

Protected Methods

Method Description
CreateValidCharGridsManager ( ) : ValidCharGridsManager

Create a ValidCharsGridMngr for testing

GetCharacterType ( string chr ) : ValidCharacterType

If the specified character is defined as a PUA character in m_langDef, returns its character type; otherwise, returns a value that indicates whether it is a valid character as defined by the Unicode Standard.

IssueBeep ( ) : void

Keeps track of the number of beeps that have been issued in the ValidCharactersDlg during a test.

ShowMessageBox ( string message ) : void

Shows a message box to warn the user about an invalid operation.

Method Details

CallAddSingleCharacter() public method

Exposes AddSingleCharacter method
public CallAddSingleCharacter ( FwTextBox txt ) : void
txt SIL.FieldWorks.Common.Widgets.FwTextBox
return void

CreateValidCharGridsManager() protected method

Create a ValidCharsGridMngr for testing
protected CreateValidCharGridsManager ( ) : ValidCharGridsManager
return ValidCharGridsManager

DummyValidCharactersDlg() public method

Sets up the ValidCharactersDlg for testing.
public DummyValidCharactersDlg ( ) : System
return System

GetCharacterType() protected method

If the specified character is defined as a PUA character in m_langDef, returns its character type; otherwise, returns a value that indicates whether it is a valid character as defined by the Unicode Standard.
protected GetCharacterType ( string chr ) : ValidCharacterType
chr string The character (may consist of more than one Unicode codepoint.
return ValidCharacterType

IssueBeep() protected method

Keeps track of the number of beeps that have been issued in the ValidCharactersDlg during a test.
protected IssueBeep ( ) : void
return void

ShowMessageBox() protected method

Shows a message box to warn the user about an invalid operation.
protected ShowMessageBox ( string message ) : void
message string The message for the user.
return void