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
-
Property Summary
Properties Type Property Description javafx.beans.property.ReadOnlyBooleanPropertyvalid -
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 voidafterControllerInitialized()This method is executed after the FXML is loaded and right after the corresponding controller is set.@NotNull EmbeddedWizardPage<T>generateEmbeddableWizardPage()Creates aEmbeddedWizardPage.protected CgetController()TgetResult()booleanisValid()Gets the value of the property valid.javafx.beans.property.ReadOnlyBooleanPropertyvalidProperty()
-
Property Details
-
Constructor Details
-
WizardPage
protected WizardPage(@NotNull @NotNull java.lang.String fxmlPath, @Nullable @Nullable java.util.ResourceBundle bundle)- Since:
- 1.13
-
-
Method Details
-
afterControllerInitialized
protected 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
-
generateEmbeddableWizardPage
@NotNull @Contract("-> new") public final @NotNull EmbeddedWizardPage<T> generateEmbeddableWizardPage() throws javafx.fxml.LoadException- Returns:
- The newly created
EmbeddedWizardPage. - Throws:
javafx.fxml.LoadException
-
getResult
-
validProperty
public javafx.beans.property.ReadOnlyBooleanProperty validProperty()- See Also:
isValid()
-
isValid
public boolean isValid()Gets the value of the property valid.- Property description:
-
getController
-