Method Summary |
|
public static void | alert(String message) Displays a standard read-only message box with an OK button (comparable to the basic JavaScript Window.alert). |
native public static void | alert(String title, String message) Displays a standard read-only message box with an OK button (comparable to the basic JavaScript Window.alert). |
native public static void | alert(String title, String message, AlertCallback cb) Displays a standard read-only message box with an OK button (comparable to the basic JavaScript Window.alert). |
native public static void | confirm(String title, String message) Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's Window.confirm). |
native public static void | confirm(String title, String message, ConfirmCallback cb) Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's Window.confirm). |
native public static Window | getDialog() Returns a reference to the underlying Window element. |
native public static void | hide() Hides the message box if it is displayed. |
native public static boolean | isVisible() Returns true if the message box is currently displayed. |
native public static void | progress(String title, String message) Displays a message box with a progress bar. |
native public static void | prompt(String title, String message) Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's Window.prompt).
The prompt can be a single-line or multi-line textbox. |
native public static void | prompt(String title, String message, PromptCallback cb) Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's Window.prompt).
The prompt can be a single-line or multi-line textbox. |
native public static void | prompt(String title, String message, PromptCallback cb, boolean multiline) Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's Window.prompt).
The prompt can be a single-line or multi-line textbox. |
native public static void | setDefaultTextHeight(int height) The default height in pixels of the message box's multiline textarea if displayed (defaults to 75). |
native public static void | setIconCls(String iconCls) Adds the specified icon to the dialog. |
native public static void | setMaxWidth(int width) The maximum width in pixels of the message box (defaults to 600). |
native public static void | setMinProgressWidth(int minProgressWidth) The minimum width in pixels of the message box if it is a progress-style dialog. |
native public static void | setMinWidth(int minWidth) The minimum width in pixels of the message box (defaults to 100). |
native public static void | show(MessageBoxConfig config) Displays a new message box, or reinitializes an existing message box, based on the config options passed in. |
native public static void | updateProgress(int percentage) Updates a progress-style message box's text and progress bar. |
native public static void | updateProgress(int percentage, String message) Updates a progress-style message box's text and progress bar. |
native public static void | updateText(String message) Updates the message box body text. |
native public static void | wait(String message) Displays a message box with an infinitely auto-updating progress bar. |
native public static void | wait(String message, String title) Displays a message box with an infinitely auto-updating progress bar. |