Klasse DialogBuilder<D extends @NonNull Dialog<R>,B extends @NonNull DialogBuilder<D,B,R>,R>
java.lang.Object
com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder<D,B,R>
com.dua3.utility.fx.controls.abstract_builders.DialogBuilder<D,B,R>
- Typparameter:
D- the type of dialog box to buildB- the type of the builder class itselfR- the type of the result returned by the dialog box
- Bekannte direkte Unterklassen:
AlertBuilder,InputDialogBuilder,OptionsDialogBuilder,PromptBuilder
public abstract class DialogBuilder<D extends @NonNull Dialog<R>,B extends @NonNull DialogBuilder<D,B,R>,R>
extends DialogPaneBuilder<D,B,R>
Abstract class for building dialog boxes.
-
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 -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Von Klasse geerbte Methoden com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
applyIfNotNull, button, buttons, getResultHandler, header, resultHandler, setDialogSupplier
-
Konstruktordetails
-
DialogBuilder
-
-
Methodendetails
-
title
Set dialog title.- Parameter:
fmt- the format String as defined byFormatterargs- the arguments passed to the formatter- Gibt zurück:
this
-
showAndWait
Build and show the dialog.This is equivalent to calling build().showAndWait().
- Gibt zurück:
- Optional containing the result as defined by the dialog
-
build
Create Dialog instance.
-