public class Window
extends com.smoothcsv.core.macro.apiimpl.APIBase
Modifier and Type | Method and Description |
---|---|
static void |
alert(java.lang.String message)
Displays a message dialog with the specified message and an OK button.
|
static boolean |
confirm(java.lang.String message)
Displays a modal dialog with a message and two buttons, OK and Cancel.
|
static java.lang.String |
prompt(java.lang.String message)
Displays a dialog with a message prompting the user to input some text.
|
static java.lang.String |
prompt(java.lang.String message,
java.lang.Object defaultValue)
Displays a dialog with a message prompting the user to input some text.
|
public static void alert(java.lang.String message)
message
- the text to be displayed in the dialogpublic static boolean confirm(java.lang.String message)
message
- the text to be displayed in the dialogpublic static java.lang.String prompt(java.lang.String message)
message
- the text to be displayed in the dialogpublic static java.lang.String prompt(java.lang.String message, java.lang.Object defaultValue)
message
- the text to be displayed in the dialogdefaultValue
- the default value displayed in the text input field