Class tsLanguage
Giovanni Capalbo <gcapalbo@users.sourceforge.net>
This source file is subject to the LGPL license, which is available online at this address: http://www.gnu.org/copyleft/lesser.html
This class used to provide the toolkit in different languages.
Attribute Summary
Method Summary
Attribute Details
msgShowKeyboard
NOTE: This attribute is static, so it is referenced as tsLanguage.msgShowKeyboard
string
"Show Keyboard" message.
public
msgMove
NOTE: This attribute is static, so it is referenced as tsLanguage.msgMove
string
"Move" message.
public
msgHide
NOTE: This attribute is static, so it is referenced as tsLanguage.msgHide
string
"Hide" message.
public
msgTab
NOTE: This attribute is static, so it is referenced as tsLanguage.msgTab
string
"Tab" message.
public
msgCaps
NOTE: This attribute is static, so it is referenced as tsLanguage.msgCaps
string
"Caps" message.
public
msgSpace
NOTE: This attribute is static, so it is referenced as tsLanguage.msgSpace
string
"Space" message.
public
curKeybd
NOTE: This attribute is static, so it is referenced as tsLanguage.curKeybd
tsKeyboard
When parsing XML, the current keyboard that is being constructed.
public
curKeybdLine
NOTE: This attribute is static, so it is referenced as tsLanguage.curKeybdLine
HTMLElement
When parsing XML, the current keyboard line that is being constructed.
public
Method Details
load
NOTE: This method is static, so it is referenced as tsLanguage.load
Attempts to load the XML document for the given language. If that XML document is not found, the default language (English-US) is used.
Type | Name | Description |
string language | The | language code of the language to load. |
void
public
loadDefault
NOTE: This method is static, so it is referenced as tsLanguage.loadDefault
Loads the default keyboards and languages (which are set to English-US). This function is used in the event that the requested language's XML descriptor is not found.
(none)
void
public
parseXML
NOTE: This method is static, so it is referenced as tsLanguage.parseXML
Recursively parses an XML document starting with the given element.
Type | Name | Description |
XMLElement | nextNode | The next XML element to recursively parse. |
void
public