public static MessageBox confirm(java.lang.String title, java.lang.String msg, Listener<MessageBoxEvent> callback)
-
Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm).
-
-
Parameters:
-
title
- the title bar text -
msg
- the message box body text -
callback
- the listener invoked after the message box is closed
Returns:
- the new message box instance
-
progress
public static MessageBox progress(java.lang.String title, java.lang.String msg, java.lang.String progressText)
-
Displays a message box with a progress bar. This message box has no buttons and is not closeable by the user. You are responsible for updating the progress bar as needed via
updateProgress(double, java.lang.String)
-
-
Parameters:
-
title
- the title bar text -
msg
- the message box body text -
progressText
- the text to display inside the progress bar
Returns:
- the new message box
-