Interface Wizard.Flow

  • All Known Implementing Classes:
    Wizard.LinearFlow
    Enclosing class:
    Wizard

    public static interface Wizard.Flow
    Represents the page flow of the wizard. It defines only methods required to move forward in the wizard logic, as backward movement is automatically handled by wizard itself, using internal page history.
    • Method Detail

      • advance

        Optional<WizardPane> advance​(WizardPane currentPage)
        Advances the wizard to the next page if possible.
        Parameters:
        currentPage - The current wizard page
        Returns:
        Optional value containing the next wizard page.
      • canAdvance

        boolean canAdvance​(WizardPane currentPage)
        Check if advancing to the next page is possible
        Parameters:
        currentPage - The current wizard page
        Returns:
        true if it is possible to advance to the next page, false otherwise.