java.lang.Object
com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder<TextInputDialog,PromptBuilder,String>
com.dua3.utility.fx.controls.abstract_builders.DialogBuilder<TextInputDialog,PromptBuilder,String>
com.dua3.utility.fx.controls.PromptBuilder
Builder for Alert Dialogs.
Provides a fluent interface to create Alerts.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
DialogPaneBuilder.ResultHandler<R> -
Feldübersicht
Von Klasse geerbte Felder com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
ALWAYS_TRUE -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()Create Dialog instance.defaultValue(String fmt, Object... args) Sets the default value for the prompt dialog.Sets the validation logic for the input prompt.Von Klasse geerbte Methoden com.dua3.utility.fx.controls.abstract_builders.DialogBuilder
showAndWait, titleVon Klasse geerbte Methoden com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
applyIfNotNull, button, buttons, getResultHandler, header, resultHandler, setDialogSupplier
-
Methodendetails
-
defaultValue
Sets the default value for the prompt dialog.- Parameter:
fmt- the format string or the default value if no arguments are providedargs- optional arguments for formatting the default value string- Gibt zurück:
- the current instance of PromptBuilder for method chaining
-
validate
Sets the validation logic for the input prompt.- Parameter:
validate- a Predicate to validate the input string- Gibt zurück:
- the current instance of PromptBuilder for method chaining
-
build
Beschreibung aus Klasse kopiert:DialogBuilderCreate Dialog instance.- Setzt außer Kraft:
buildin KlasseDialogBuilder<TextInputDialog,PromptBuilder, String> - Gibt zurück:
- Dialog instance
-