Interface WizardStepChangeHandler
- 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 for handling step changes in a wizard flow.
This interface defines a single method that is invoked whenever the active step in a wizard transitions from one step to another. It provides the necessary context to respond to these changes, including the wizard instance, the previous step, and the current step.
Implementations of this interface can be used to perform actions such as updating the UI, validating transitions, logging step changes, or any other behavior associated with a step transition.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonStepChange(Wizard wizard, WizardStep previous, WizardStep current) Handles the transition from one step to another in a wizard flow.
-
Method Details
-
onStepChange
Handles the transition from one step to another in a wizard flow.- Parameters:
wizard- the wizard instance responsible for managing the step transitionsprevious- the step that was active before the transition occurred, which might benull!current- the step that is now active after the transition
-