Modifier and Type | Method and Description |
---|---|
public <V> Optional | showBackgroundProgressDialogAndWait(String
title of the dialog title, String message to show below the list of background tasks content, StateManager The stateManager)StateManager which contains the background tasksConstructs and shows a dialog showing the progress of running background tasks. |
public <T> Optional | showChoiceDialogAndWait(String title, String content, String okButtonLabel, T defaultChoice, Collection<T> choices)
This will create and display new |
public default <T> Optional | showChoiceDialogAndWait(String title, String content, String okButtonLabel, Collection<T> choices)
This will create and display new |
public boolean | Returns: true if the use clicked "OK" otherwise falseThis will create and display a new confirmation dialog. |
public boolean | Returns: true if the use clicked "OK" otherwise falseCreate and display a new confirmation dialog. |
public boolean | Returns: true if the use clicked "OK" otherwise falseCreate and display a new confirmation dialog. |
public boolean | |
public boolean | |
public Optional | Returns: Optional with the pressed Button as ButtonTypeThis will create and display a new dialog of the specified
|
public void | showCustomDialog(BaseDialog<?>
dialog to show dialog)Shows a custom dialog without returning any results. |
public Optional | Returns: Optional with the pressed Button as ButtonTypeThis will create and display a new dialog showing a custom |
public < type of result R> Optional | showCustomDialogAndWait(Dialog<R>
dialog to show dialog)Shows a custom dialog and returns the result. |
public void | |
public Optional | Returns: the selected directory or an emptyOptional if no directory has been selectedShows a new directory selection dialog. |
public <T> Optional | showEditableChoiceDialogAndWait(String title, String content, String okButtonLabel, T defaultChoice, Collection<T> choices, StringConverter<T> converter)
|
public default <T> Optional | showEditableChoiceDialogAndWait(String title, String content, String okButtonLabel, Collection<T> choices, StringConverter<T> converter)
|
public void | showErrorDialogAndWait(String title, String content)
This will create and display a new error dialog. |
public void | showErrorDialogAndWait(String
the error message message, Throwable the exception causing the error exception)Create and display error dialog displaying the given exception. |
public void | showErrorDialogAndWait(Exception
the exception causing the error exception)Create and display error dialog displaying the given exception. |
public void | |
public void | showErrorDialogAndWait(String title, String content, Throwable
the exception causing the error exception)Create and display error dialog displaying the given exception. |
public void | showErrorDialogAndWait(String
the error message message)Create and display error dialog displaying the given message. |
public Optional | Returns: the selected file or an emptyOptional if no file has been selectedShows a new file open dialog. |
public List | Returns: the selected files or an emptyList if no file has been selectedShows a new file open dialog. |
public Optional | Returns: the selected file or an emptyOptional if no file has been selectedShows a new dialog that list all files contained in the given archive and which lets the user select one of these files. |
public Optional | Returns: the selected file or an emptyOptional if no file has been selectedShows a new file save dialog. |
public void | showInformationDialogAndWait(String title, String content)
This will create and display a new information dialog. |
public Optional | showInputDialogAndWait(String title, String content)
This will create and display new |
public Optional | showInputDialogWithDefaultAndWait(String title, String content, String defaultValue)
This will create and display new |
public Optional | Returns: the entered password if pressed "OK", null otherwiseThis will create and display new |
public boolean | Returns: false if the user opts to cancel printingthe print job to customize job)Displays a Print Dialog. |
public <V> void | showProgressDialog(String
title of the dialog title, String message to show above the progress bar content, Task<V> The task)Task which executes the work and for which to show the dialogConstructs and shows a cancelable |
public <V> void | showProgressDialogAndWait(String
title of the dialog title, String message to show above the progress bar content, Task<V> The task)Task which executes the work and for which to show the dialogConstructs and shows a cancelable |
public void | showWarningDialogAndWait(String title, String content)
This will create and display a new information dialog. |
showBackgroundProgressDialogAndWait | back to summary |
---|---|
public <V> Optional Constructs and shows a dialog showing the progress of running background tasks. Clicking cancel will cancel the underlying service and close the dialog. The dialog will exit as soon as none of the background tasks are running
|
showChoiceDialogAndWait | back to summary |
---|---|
public <T> Optional This will create and display new Implementation Note The implementation should accept |
showChoiceDialogAndWait | back to summary |
---|---|
public default <T> Optional This will create and display new |
showConfirmationDialogAndWait | back to summary |
---|---|
public boolean showConfirmationDialogAndWait(String title, String content) This will create and display a new confirmation dialog.
It will include a blue question icon on the left and
a OK and Cancel button. To create a confirmation dialog with custom
buttons see also
|
showConfirmationDialogAndWait | back to summary |
---|---|
public boolean showConfirmationDialogAndWait(String title, String content, String okButtonLabel) Create and display a new confirmation dialog.
It will include a blue question icon on the left and
a OK (with given label) and Cancel button. To create a confirmation dialog with custom
buttons see also
|
showConfirmationDialogAndWait | back to summary |
---|---|
public boolean showConfirmationDialogAndWait(String title, String content, String okButtonLabel, String cancelButtonLabel) Create and display a new confirmation dialog.
It will include a blue question icon on the left and
a OK (with given label) and Cancel (also with given label) button. To create a confirmation dialog with custom
buttons see also
|
showConfirmationDialogWithOptOutAndWait | back to summary |
---|---|
public boolean showConfirmationDialogWithOptOutAndWait(String title, String content, String optOutMessage, Consumer<Boolean> optOutAction) Create and display a new confirmation dialog.
It will include a blue question icon on the left and
a YES (with given label) and Cancel (also with given label) button. To create a confirmation dialog with custom
buttons see also
|
showConfirmationDialogWithOptOutAndWait | back to summary |
---|---|
public boolean showConfirmationDialogWithOptOutAndWait(String title, String content, String okButtonLabel, String cancelButtonLabel, String optOutMessage, Consumer<Boolean> optOutAction) Create and display a new confirmation dialog.
It will include a blue question icon on the left and
a YES (with given label) and Cancel (also with given label) button. To create a confirmation dialog with custom
buttons see also
|
showCustomButtonDialogAndWait | back to summary |
---|---|
public Optional This will create and display a new dialog of the specified
|
showCustomDialog | back to summary |
---|---|
public void showCustomDialog(BaseDialog<?> dialog) Shows a custom dialog without returning any results.
|
showCustomDialogAndWait | back to summary |
---|---|
public Optional This will create and display a new dialog showing a custom
|
showCustomDialogAndWait | back to summary |
---|---|
public <R> Optional Shows a custom dialog and returns the result.
|
showCustomWindow | back to summary |
---|---|
public void showCustomWindow(BaseWindow window) Shows a custom window.
|
showDirectorySelectionDialog | back to summary |
---|---|
public Optional Shows a new directory selection dialog. The method doesn't return until the
displayed open dialog is dismissed. The return value specifies
the file chosen by the user or an empty |
showEditableChoiceDialogAndWait | back to summary |
---|---|
public <T> Optional |
showEditableChoiceDialogAndWait | back to summary |
---|---|
public default <T> Optional |
showErrorDialogAndWait | back to summary |
---|---|
public void showErrorDialogAndWait(String title, String content) This will create and display a new error dialog.
It will include a red error icon on the left and
a single OK Button. To create a error dialog with custom
buttons see also |
showErrorDialogAndWait | back to summary |
---|---|
public void showErrorDialogAndWait(String message, Throwable exception) Create and display error dialog displaying the given exception. |
showErrorDialogAndWait | back to summary |
---|---|
public void showErrorDialogAndWait(Exception exception) Create and display error dialog displaying the given exception.
|
showErrorDialogAndWait | back to summary |
---|---|
public void showErrorDialogAndWait(FetcherException fetcherException) |
showErrorDialogAndWait | back to summary |
---|---|
public void showErrorDialogAndWait(String title, String content, Throwable exception) Create and display error dialog displaying the given exception.
|
showErrorDialogAndWait | back to summary |
---|---|
public void showErrorDialogAndWait(String message) Create and display error dialog displaying the given message.
|
showFileOpenDialog | back to summary |
---|---|
public Optional Shows a new file open dialog. The method doesn't return until the
displayed open dialog is dismissed. The return value specifies
the file chosen by the user or an empty |
showFileOpenDialogAndGetMultipleFiles | back to summary |
---|---|
public List Shows a new file open dialog. The method doesn't return until the
displayed open dialog is dismissed. The return value specifies
the files chosen by the user or an empty |
showFileOpenFromArchiveDialog | back to summary |
---|---|
public Optional Shows a new dialog that list all files contained in the given archive and which lets the user select one of these
files. The method doesn't return until the displayed open dialog is dismissed. The return value specifies the
file chosen by the user or an empty |
showFileSaveDialog | back to summary |
---|---|
public Optional Shows a new file save dialog. The method doesn't return until the
displayed file save dialog is dismissed. The return value specifies the
file chosen by the user or an empty |
showInformationDialogAndWait | back to summary |
---|---|
public void showInformationDialogAndWait(String title, String content) This will create and display a new information dialog.
It will include a blue information icon on the left and
a single OK Button. To create an information dialog with custom
buttons see also |
showInputDialogAndWait | back to summary |
---|---|
public Optional This will create and display new |
showInputDialogWithDefaultAndWait | back to summary |
---|---|
public Optional This will create and display new |
showPasswordDialogAndWait | back to summary |
---|---|
public Optional This will create and display new |
showPrintDialog | back to summary |
---|---|
public boolean showPrintDialog(PrinterJob job) Displays a Print Dialog. Allow the user to update job state such as printer and settings. These changes will be available in the appropriate properties after the print dialog has returned. The print dialog is also used to confirm the user wants to proceed with printing.
|
showProgressDialog | back to summary |
---|---|
public <V> void showProgressDialog(String title, String content, Task<V> task) Constructs and shows a cancelable |
showProgressDialogAndWait | back to summary |
---|---|
public <V> void showProgressDialogAndWait(String title, String content, Task<V> task) Constructs and shows a cancelable |
showWarningDialogAndWait | back to summary |
---|---|
public void showWarningDialogAndWait(String title, String content) This will create and display a new information dialog.
It will include a yellow warning icon on the left and
a single OK Button. To create a warning dialog with custom
buttons see also |