dialogs
Methods Summary
Type | Name | Summary |
---|---|---|
Shows a message dialog with the specified title, message and a customizable set of buttons.. | ||
Shows a message dialog with the specified title, message and a customizable set of buttons.. | ||
Shows an input dialog where the user can enter data.. | ||
Shows an input dialog where the user can enter data.. | ||
Shows an input dialog where the user can enter data.. | ||
Shows an input dialog where the user can enter data.. | ||
Shows a message dialog with the specified title, message and a customizable set of buttons.. | ||
Shows a selection dialog, where the user can select an entry from a list of options.. | ||
Shows a selection dialog, where the user can select an entry from a list of options.. | ||
Shows a message dialog with the specified title, message and a customizable set of buttons.. |
Methods Details
showErrorDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons. Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters String dialogTitle Dialog title. String dialogMessage Dialog message. Array buttonsText variable arguments of button texts.
Returns String pressed button text
Sample
showInfoDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons. Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters String dialogTitle Dialog title. String dialogMessage Dialog message. Array buttonsText variable arguments of button texts.
Returns String pressed button text
Sample
showInputDialog()
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Returns String input text or null
Sample
showInputDialog(dialog_title)
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Parameters String dialog_title ;
Returns String input text or null
Sample
showInputDialog(dialog_title, msg)
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Parameters String dialog_title ; String msg ;
Returns String input text or null
Sample
showInputDialog(dialog_title, msg, initialValue)
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Parameters String dialog_title ; String msg ; String initialValue ;
Returns String input text or null
Sample
showQuestionDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons. Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters String dialogTitle Dialog title. String dialogMessage Dialog message. Array buttonsText variable arguments of button texts.
Returns String pressed button text
Sample
showSelectDialog(dialog_title, msg, optionArray)
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled.
Parameters String dialog_title ; String msg ; Array optionArray ;
Returns String selected value or null
Sample
showSelectDialog(dialog_title, msg, options)
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled.
Parameters String dialog_title ; String msg ; Array options ;
Returns String selected value or null
Sample
showWarningDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons. Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters String dialogTitle Dialog title. String dialogMessage Dialog message. Array buttonsText variable arguments of button texts.
Returns String pressed button text
Sample
Last updated