Class tsTouchscreen
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 is the main class for the toolkit. To extend the functionality of the toolkit, extend this class.
Attribute Summary
Name | Description |
language | The language code of the language that the toolkit is to be displayed in. |
Constructor Summary
Method Summary
Attribute Details
language
NOTE: This attribute is static, so it is referenced as tsTouchscreen.language
string
The language code of the language that the toolkit is to be displayed in.
Constructor Details
tsTouchscreen
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.
(none)
Method Details
tsInit
NOTE: This method is static, so it is referenced as tsTouchscreen.tsInit
Loads the touchscreen interface by constructing a new tsTouchscreen object or an object that is a subclass of tsTouchscreen.
Type | Name | Description |
string | className | The 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. |
void
public