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 the EmbeddedWizardPage.
C - The type of the controller used by the WizardPage.
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.ReadOnlyBooleanProperty valid  
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected WizardPage​(@NotNull java.lang.String fxmlPath, @Nullable java.util.ResourceBundle bundle)  
  • Method Summary

    Modifier and Type Method Description
    protected void afterControllerInitialized()
    This method is executed after the FXML is loaded and right after the corresponding controller is set.
    @NotNull EmbeddedWizardPage<T> generateEmbeddableWizardPage()
    protected C getController()  
    T getResult()  
    boolean isValid()
    Gets the value of the property valid.
    javafx.beans.property.ReadOnlyBooleanProperty validProperty()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Property Details

    • valid

      public javafx.beans.property.ReadOnlyBooleanProperty validProperty
      See Also:
      isValid()
  • 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 @NotNull EmbeddedWizardPage<T> generateEmbeddableWizardPage() throws javafx.fxml.LoadException
      Creates a EmbeddedWizardPage. The nextFunction returns always null and isFinish is set to false.
      Returns:
      The newly created EmbeddedWizardPage.
      Throws:
      javafx.fxml.LoadException
    • getResult

      public T 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

      protected C getController()