Class Index | File Index

Classes


Class M.AlertDialogView


Extends M.DialogView.
This is the prototype for any alert dialog view. It is derived from M.DialogView and mainly used for implementing a alert dialog view specific render method.
Defined in: alert_dialog.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
If set, contains the dialog's callback in a sub object named 'confirm' or as a function named confirm.
 
Determines the value of the button, means the text label on it.
 
Determines whether the alert dialog gets a default ok button.
 
The default message of an alert dialog.
 
The default title of an alert dialog.
 
The type of this object.
Fields borrowed from class M.View:
childViews, computedValue, contentBinding, contentBindingReverse, cssClass, cssClassOnError, cssClassOnInit, cssStyle, events, hasFocus, html, id, isInline, isView, modelId, parentView, recommendedEvents, triggerActionOnChange, triggerActionOnEnter, triggerActionOnKeyUp, value
Method Summary
Method Attributes Method Name and Description
 
 
hide()
 
positionBackground(background)
 
 
show()
Methods borrowed from class M.DialogView:
actionSheet, alert, confirm, dequeue, enqueue
Methods borrowed from class M.View:
addCssClass, attachToObservable, clearHtml, clearValue, clearValues, computeValue, contentDidChange, delegateValueUpdate, design, getChildViewsAsArray, getIds, getValue, getValues, gotFocus, lostFocus, nl2br, registerEvents, removeCssClass, removeCssProperty, renderUpdate, secure, setCssProperty, setValueFromDOM, style, tab2space, theme, themeChildViews
Methods borrowed from class M.Object:
bindToCaller, create, destroy, extend, get, include, set
Class Detail
M.AlertDialogView()
Field Detail
{Object} callbacks
If set, contains the dialog's callback in a sub object named 'confirm' or as a function named confirm.

{String} confirmButtonValue
Determines the value of the button, means the text label on it.

{Boolean} hasConfirmButton
Determines whether the alert dialog gets a default ok button.

{String} message
The default message of an alert dialog.

{String} title
The default title of an alert dialog.

{String} type
The type of this object.
Method Detail
handleCallback()

hide()

positionBackground(background)
Parameters:
background

positionDialog(dialog)
Parameters:
dialog

show()

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