0% found this document useful (0 votes)
5 views6 pages

Benemenbvcvbnyg: Show Private Classes

Uploaded by

Akshay Jadhav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views6 pages

Benemenbvcvbnyg: Show Private Classes

Uploaded by

Akshay Jadhav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

benemenbvcvbnyg

MessageBox

Show private
classes
By PackageBy Inheritance
Ext.MessageBoxView source...singleton
15
Properties
12
Methods

Show

Files
MessageBox.js
Utility class for generating different styles of message boxes. The
alias Ext.Msg can also be used.
Note that the MessageBox is asynchronous. Unlike a regular
JavaScript alert (which will halt browser execution), showing a MessageBox will
not cause the code to stop. For this reason, if you have code that should only
run after some user feedback from the MessageBox, you must use a callback
function (see the function parameter for show for more details).
Example usage:
// Basic alert:
Ext.Msg.alert('Status', 'Changes saved successfully.');

// Prompt for user data and process the result using a callback:
Ext.Msg.prompt('Name', 'Please enter your name:', function(btn, text){
if (btn == 'ok'){
// process text value and close...
}
});
// Show a dialog using config options:
Ext.Msg.show({
title:'Save Changes?',
msg: 'You are closing a tab that has unsaved changes. Would you like to save
your changes?',
buttons: Ext.Msg.YESNOCANCEL,
fn: processResult,
animEl: 'elId',
icon: Ext.MessageBox.QUESTION
});
Defined By
Properties

Ext.MessageBox
view source
CANCEL : Object
Button config that displays a single Cancel button ...

Ext.MessageBox
view source
ERROR : String
The CSS class that provides the ERROR icon image ...

Ext.MessageBox
view source
INFO : String
The CSS class that provides the INFO icon image ...

Ext.MessageBox
view source
OK : Object
Button config that displays a single OK button ...
Ext.MessageBox
view source
OKCANCEL : Object
Button config that displays OK and Cancel buttons ...

Ext.MessageBox
view source
QUESTION : String
The CSS class that provides the QUESTION icon image ...

Ext.MessageBox
view source
WARNING : String
The CSS class that provides the WARNING icon image ...

Ext.MessageBox
view source
YESNO : Object
Button config that displays Yes and No buttons ...

Ext.MessageBox
view source
YESNOCANCEL : Object
Button config that displays Yes, No and Cancel buttons ...

Ext.MessageBox
view source
buttonText : Object
An object containing the default button text strings that can be overriden for
localized language support. ...

Ext.MessageBox
view source
defaultTextHeight : Number
The default height in pixels of the message box's multiline textarea if displayed
(defaults to 75) ...

Ext.MessageBox
view source
maxWidth : Number
The maximum width in pixels of the message box (defaults to 600) ...

Ext.MessageBox
view source
minProgressWidth : Number
The minimum width in pixels of the message box if it is a progress-style
dialog. ...

Ext.MessageBox
view source
minPromptWidth : Number
The minimum width in pixels of the message box if it is a prompt dialog. ...

Ext.MessageBox
view source
minWidth : Number
The minimum width in pixels of the message box (defaults to 100) ...
Defined By
Methods

Ext.MessageBox
view source
alert( title, msg, [fn], [scope] ) : Ext.MessageBoxchainable
Displays a standard read-only message box with an OK button (comparable to
the basic JavaScript alert prompt). ...

Ext.MessageBox
view source
confirm( title, msg, [fn], [scope] ) : Ext.MessageBoxchainable
Displays a confirmation message box with Yes and No buttons (comparable to
JavaScript's confirm). ...

Ext.MessageBox
view source
getDialog( titleText ) : Ext.Window
Returns a reference to the underlying Ext.Window element ...

Ext.MessageBox
view source
hide( ) : Ext.MessageBoxchainable
Hides the message box if it is displayed ...

Ext.MessageBox
view source
isVisible( ) : Boolean
Returns true if the message box is currently displayed ...

Ext.MessageBox
view source
progress( title, msg, [progressText] ) : Ext.MessageBoxchainable
Displays a message box with a progress bar. ...

Ext.MessageBox
view source
prompt( title, msg, [fn], [scope], [multiline],
[value] ) : Ext.MessageBoxchainable
Displays a message box with OK and Cancel buttons prompting the user to enter
some text (comparable to JavaScript's p...

Ext.MessageBox
view source
setIcon( icon ) : Ext.MessageBoxchainable
Adds the specified icon to the dialog. ...
Ext.MessageBox
view source
show( config ) : Ext.MessageBoxchainable
Displays a new message box, or reinitializes an existing message box, based on
the config options passed in. ...

Ext.MessageBox
view source
updateProgress( value, progressText, msg ) : Ext.MessageBoxchainable
Updates a progress-style message box's text and progress bar. ...

Ext.MessageBox
view source
updateText( [text] ) : Ext.MessageBoxchainable
Updates the message box body text ...

Ext.MessageBox
view source
wait( msg, [title], [config] ) : Ext.MessageBoxchainable
Displays a message box with an infinitely auto-updating progress bar. ...

You might also like