Package bayern.steinbrecher.wizard
Class WizardPage<T extends java.util.Optional<?>,C extends WizardPageController<T>>
java.lang.Object
bayern.steinbrecher.wizard.WizardPage<T,C>
- Type Parameters:
T- The type of the result of theEmbeddedWizardPage.C- The type of the controller used by theWizardPage.
- Direct Known Subclasses:
Selection,StandaloneWizardPage
public abstract class WizardPage<T extends java.util.Optional<?>,C extends WizardPageController<T>>
extends java.lang.Object
Represents a class which can be in a
Wizard.- Since:
- 1.2
- Author:
- Stefan Huber
-
Constructor Summary
Constructors Modifier Constructor Description protectedWizardPage(@NotNull java.lang.String fxmlPath, @Nullable java.util.ResourceBundle bundle) -
Method Summary
Modifier and Type Method Description protected abstract voidafterControllerInitialized()This method is executed after the FXML is loaded and right after the corresponding controller is set.CgetController()@NotNull EmbeddedWizardPage<T>getWizardPage()Creates aEmbeddedWizardPage.
-
Constructor Details
-
WizardPage
protected WizardPage(@NotNull @NotNull java.lang.String fxmlPath, @Nullable @Nullable java.util.ResourceBundle bundle)- Since:
- 1.13
-
-
Method Details
-
afterControllerInitialized
protected abstract void afterControllerInitialized()This method is executed after the FXML is loaded and right after the corresponding controller is set. This function represents an equivalent to a FXML controllers initialize method.- Since:
- 1.8
-
getWizardPage
@NotNull @Contract("-> new") public @NotNull EmbeddedWizardPage<T> getWizardPage() throws javafx.fxml.LoadException- Returns:
- The newly created
EmbeddedWizardPage. Returnsnullif theEmbeddedWizardPagecould not be created. - Throws:
javafx.fxml.LoadException
-
getController
-