Class Index | File Index

Classes


Class M.DialogView


Extends M.View This is the prototype of any dialog view. It is responsible for showing and later hiding a dialog..

Defined in: dialog.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
Contains the ids of the button's within a dialog.
 
The dialog's callback, split in target / action.
 
The type of this object.
Method Summary
Method Attributes Method Name and Description
 
This method creates an actionSheet dialog based on the given customizing parameters and initiates its displaying on the screen.
 
alert(obj)
This method creates an alert dialog based on the given customizing parameters and initiates its displaying on the screen.
 
confirm(obj)
This method creates an confirm dialog based on the given customizing parameters and initiates its displaying on the screen.
Class Detail
M.DialogView()
Field Detail
{Array} buttonIds
Contains the ids of the button's within a dialog. They are used to later register a click event to all of these views.

{Object} callback
The dialog's callback, split in target / action. It is called once the dialog's closing transition did finish.

{String} type
The type of this object.
Method Detail
actionSheet(obj)
This method creates an actionSheet dialog based on the given customizing parameters and initiates its displaying on the screen.
Parameters:
{Object} obj
The customizing parameters of the actionSheet dialog view.

alert(obj)
This method creates an alert dialog based on the given customizing parameters and initiates its displaying on the screen.
Parameters:
{Object} obj
The customizing parameters of the alert dialog view.

confirm(obj)
This method creates an confirm dialog based on the given customizing parameters and initiates its displaying on the screen.
Parameters:
{Object} obj
The customizing parameters of the confirm dialog view.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Dec 08 2010 12:20:36 GMT+0100 (MEZ)