- Alle implementierten Schnittstellen:
EventTarget
Represents a wizard dialog that guides the user through a sequence of pages.
Each page can represent a step in a process, and the wizard dialog allows
navigation between these steps.
-
Eigenschaftsübersicht
Von Klasse geerbte Eigenschaften javafx.scene.control.Dialog
contentText, dialogPane, graphic, headerText, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, resizable, resultConverter, result, showing, title, width, x, y -
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classWizardDialog.Page<D extends InputDialogPane<R>,R> Wizard page information class. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungWizardDialog initializes a new dialog that handles the navigation and data collection of a sequence of wizard pages. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungOptional<WizardDialog.Page<?, ?>> Retrieves the current wizard page.booleanCheck if dialog can be canceled.booleanCheck if a 'previous' ( or 'navigate-back') button should be displayed.voidsetPages(Map<String, WizardDialog.Page<?, ?>> pages, String startPage) Sets the wizard pages and the initial page to start from.Von Klasse geerbte Methoden javafx.scene.control.Dialog
addEventFilter, addEventHandler, buildEventDispatchChain, close, contentTextProperty, dialogPaneProperty, getContentText, getDialogPane, getGraphic, getHeaderText, getHeight, getModality, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOwner, getResult, getResultConverter, getTitle, getWidth, getX, getY, graphicProperty, headerTextProperty, heightProperty, hide, initModality, initOwner, initStyle, isResizable, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, removeEventFilter, removeEventHandler, resizableProperty, resultConverterProperty, resultProperty, setContentText, setDialogPane, setGraphic, setHeaderText, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setResizable, setResult, setResultConverter, setTitle, setWidth, setX, setY, show, showAndWait, showingProperty, titleProperty, widthProperty, xProperty, yProperty
-
Konstruktordetails
-
WizardDialog
public WizardDialog()WizardDialog initializes a new dialog that handles the navigation and data collection of a sequence of wizard pages.
-
-
Methodendetails
-
setPages
Sets the wizard pages and the initial page to start from.- Parameter:
pages- a map where keys are page identifiers and values are the corresponding Page objectsstartPage- the identifier of the page where the wizard dialog should start
-
isCancelable
public boolean isCancelable()Check if dialog can be canceled.- Gibt zurück:
- true if dialog is cancelable
-
isShowPreviousButton
public boolean isShowPreviousButton()Check if a 'previous' ( or 'navigate-back') button should be displayed.- Gibt zurück:
- true if dialog is cancelable
-
getCurrentPage
Retrieves the current wizard page.- Gibt zurück:
- the current wizard page as a
WizardDialog.Pageobject
-