Class tsTouchscreen

Author
Giovanni Capalbo <gcapalbo@users.sourceforge.net>
License
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 is the main class for the toolkit. To extend the functionality of the toolkit, extend this class.



Attribute Summary


NameDescription
languageThe language code of the language that the toolkit is to be displayed in.


Constructor Summary


Signature
tsTouchscreen()


Method Summary


Return TypeSignature
voidtsInit(className)


Attribute Details

language

NOTE: This attribute is static, so it is referenced as tsTouchscreen.language
Type
string
Description
The language code of the language that the toolkit is to be displayed in.


Constructor Details

tsTouchscreen

Description
Creates a new tsTouchscreen object, which sets into motion the loading of the entire toolkit. To load the toolkit, it is wiser to use the tsTouchscreen.tsInit() function, since it will load the entire toolkit only after the page has finished loading.
Parameters
(none)


Method Details

tsInit

NOTE: This method is static, so it is referenced as tsTouchscreen.tsInit
Description
Loads the touchscreen interface by constructing a new tsTouchscreen object or an object that is a subclass of tsTouchscreen.
Parameters
TypeNameDescription
stringclassNameThe name of tsTouchscreen class to use. To use the default tsTouchscreen class, leave null. To use a class that extends the tsTouchscreen class, supply its name as a string.
Return
void
Access
public