Class WizardableView<T extends java.util.Optional<?>,​C extends WizardableController<T>>

java.lang.Object
bayern.steinbrecher.wizard.WizardableView<T,​C>
Type Parameters:
T - The type of the result of the WizardPage.
C - The type of the controller used by the WizardableView.
Direct Known Subclasses:
Selection

public abstract class WizardableView<T extends java.util.Optional<?>,​C extends WizardableController<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
    protected WizardableView​(@NotNull java.lang.String fxmlPath, @Nullable java.util.ResourceBundle bundle)  
  • Method Summary

    Modifier and Type Method Description
    protected abstract void afterControllerInitialized()
    This method is executed after the FXML is loaded and right after the corresponding controller is set.
    C getController()  
    @NotNull WizardPage<T> getWizardPage()
    Creates a WizardPage.

    Methods inherited from class java.lang.Object

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

    • WizardableView

      protected WizardableView​(@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 WizardPage<T> getWizardPage() throws javafx.fxml.LoadException
      Creates a WizardPage. The nextFunction returns always null and isFinish is set to false.
      Returns:
      The newly created WizardPage. Returns null if the WizardPage could not be created.
      Throws:
      javafx.fxml.LoadException
    • getController

      public C getController()