Method Summary |
|
public void | setAnimEl(String animEl) An id from which the message box should animate as it opens and closes (defaults to undefined). |
public void | setButtons(MessageBox.Button buttons) The button to display. |
public void | setButtons(boolean buttons) False to not show any buttons. |
public void | setButtons(NameValuePair[] buttons) |
native public void | setCallback(MessageBox.PromptCallback cb) A callback function to execute after closing the dialog. |
public void | setClosable(boolean closable) False to hide the top-right close button (defaults to true). |
public void | setCls(String cls) A custom CSS class to apply to the message box element. |
public void | setDefaultTextHeight(int defaultTextHeight) The default height in pixels of the message box's multiline textarea if displayed (defaults to 75). |
public void | setIconCls(String iconCls) A CSS class that provides a background image to be used as an icon for the dialog (e.g., Ext.MessageBox.WARNING
or 'custom-class', defaults to ''). |
public void | setMaxWidth(int maxWidth) The maximum width in pixels of the message box (defaults to 600). |
public void | setMinProgressWidth(int minProgressWidth) The minimum width in pixels of the message box if it is a progress-style dialog. |
public void | setMinWidth(int minWidth) The minimum width in pixels of the message box (defaults to 100). |
public void | setModal(boolean modal) False to allow user interaction with the page while the message box is displayed
(defaults to true). |
public void | setMsg(String msg) |
public void | setMultiline(boolean multiline) True to prompt the user to enter multi-line text (defaults to false). |
public void | setProgress(boolean progress) |
public void | setProgressText(String progressText) The text to display inside the progress bar if progress = true (defaults to ''). |
public void | setPrompt(boolean prompt) True to prompt the user to enter single-line text (defaults to false). |
public void | setProxyDrag(boolean proxyDrag) True to display a lightweight proxy while dragging (defaults to false). |
public void | setTitle(String title) The title text. |
public void | setValue(String value) he string value to set into the active textbox element if displayed. |
public void | setWait(boolean wait) True to display a progress bar (defaults to false). |
public void | setWaitConfig(WaitConfig waitConfig) Applies a wait with the specified waitConfig object (applies only if wait = true). |
public void | setWidth(int width) The width of the dialog in pixels. |