Class System
Contains ZWT System utilities.
Defined in: zwt.js.
Constructor Attributes | Constructor Name and Description |
---|---|
System()
ZWT System package.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
System.userAgent
The current user agent.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
System.boot(The)
Boot the specified application.
|
<static> |
System.getProperty(string_name)
Return the specified property value.
|
<static> |
System.getSystemClassLoader()
Return the system class loader.
|
<static> |
System.getUserAgent()
Return the current user agent.
|
<static> |
System.hideLoadingFlag()
Hide the loading flag.
|
<static> |
System.newXMLHttpRequest()
Return a new XMLHttpRequest object.
|
<static> |
System.setClassPath(array_urls)
Set ZWT classPath.
|
<static> |
System.setProperty(string_name, string_property)
Set a property.
|
<static> |
System.showLoadingFlag(string_message)
Show the loading flag element.
|
Field Detail
<static>
System.userAgent
The current user agent.
This object is composed of four fields:
- browser : the current browser (opera, iphone, chrome, msie, konqueror, firefox, iceweasel, camino, seamonkey, unknown)
- browserVersion : the current browser version
- engine : the current layout engine (opera, webkit, trident, gecko, unknown)
- engineVersion : the current layout engine version
Method Detail
<static>
System.boot(The)
Boot the specified application.
- Parameters:
- {String} The
- application class name.
<static>
{String}
System.getProperty(string_name)
Return the specified property value.
- Parameters:
- {String} string_name
- The name of the property.
- Returns:
- The property value.
<static>
{System.ClassLoader}
System.getSystemClassLoader()
Return the system class loader.
- Returns:
- The system class loader.
<static>
{Object}
System.getUserAgent()
Return the current user agent.
- Returns:
- The user agent with the engine, the version of the engine, the browser and the version of the browser.
- See:
- System.userAgent
<static>
System.hideLoadingFlag()
Hide the loading flag.
<static>
{XMLHttpRequest}
System.newXMLHttpRequest()
Return a new XMLHttpRequest object.
- Returns:
- An XMLHttpRequest object.
<static>
System.setClassPath(array_urls)
Set ZWT classPath.
- Parameters:
- {String[]} array_urls
- The classPath in an array of URLs.
<static>
System.setProperty(string_name, string_property)
Set a property.
- Parameters:
- {String} string_name
- The property name.
- {String} string_property
- The property value.
<static>
System.showLoadingFlag(string_message)
Show the loading flag element. A loading flag is used to indicate the user that a loading operation is in progress.
- Parameters:
- {String} string_message
- The message to display.