Class WizardStateMachine
java.lang.Object
io.github.astrapi69.design.pattern.state.wizard.WizardStateMachine
- All Implemented Interfaces:
IWizardStateMachine<WizardState<WizardStateMachine>>
public class WizardStateMachine
extends Object
implements IWizardStateMachine<WizardState<WizardStateMachine>>
The class
WizardStateMachine
implements IWizardStateMachine
and manages the state
transitions for a wizard.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
next()
Go to the nextWizardState
object.void
previous()
Go to the previousWizardState
object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.astrapi69.design.pattern.state.wizard.IWizardStateMachine
getCurrentState, setCurrentState
-
Constructor Details
-
WizardStateMachine
public WizardStateMachine()
-
-
Method Details
-
next
public void next()Go to the nextWizardState
object.- Specified by:
next
in interfaceIWizardStateMachine<WizardState<WizardStateMachine>>
-
previous
public void previous()Go to the previousWizardState
object.- Specified by:
previous
in interfaceIWizardStateMachine<WizardState<WizardStateMachine>>
-