Interface WizardStepNextHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface representing a callback mechanism for handling the transition from one step to the next in a wizard.
This callback is triggered when an attempt is made to advance from the current step to the next step in the wizard's sequence. It provides a mechanism to control whether the transition should proceed or be prevented based on custom logic.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanonNext(Wizard wizard, WizardStep current, WizardStep next) Invoked when advancing from the current wizard step to the next step.
-
Method Details
-
onNext
Invoked when advancing from the current wizard step to the next step.- Parameters:
wizard- the wizard instance managing the stepscurrent- the current step in the wizardnext- the next step to transition to- Returns:
trueif the transition to the next step is allowed,falseotherwise
-