Class Index | File Index

Classes


Class M.DeviceSwitch


Extends M.Object.
M.DeviceSwitch defines a prototype for using device specific objects within an application developed with The M-Project.
Defined in: device_switch.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
The name of the current device.
 
The type of this object.
Method Summary
Method Attributes Method Name and Description
 
s(key)
This method returns the specialized string for the given key based on the current device/environment.
Methods borrowed from class M.Object:
bindToCaller, create, destroy, extend, get, include, set
Class Detail
M.DeviceSwitch()
Field Detail
{String} device
The name of the current device.

{String} type
The type of this object.
Method Detail
{String} s(key)
This method returns the specialized string for the given key based on the current device/environment.
Parameters:
{String} key
The key to the specialized string.
Returns:
{String} The specialized string based on the current device/environment.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 25 2012 20:41:09 GMT+0100 (MEZ)