Index
All Classes and Interfaces|All Packages
A
- AbstractJComponentStateMachine<T extends JComponent,
S> - Class in io.github.astrapi69.design.pattern.state.component -
The abstract class
AbstractJComponentStateMachineprovides a state machine for JComponents. - AbstractJComponentStateMachine() - Constructor for class io.github.astrapi69.design.pattern.state.component.AbstractJComponentStateMachine
B
- BaseWizardState<ST> - Interface in io.github.astrapi69.design.pattern.state.wizard
-
The interface
BaseWizardStaterepresents a wizard state. - BaseWizardStateMachine - Class in io.github.astrapi69.design.pattern.state.wizard
-
The class
BaseWizardStateMachineimplementsIBaseWizardStateMachineand manages the state transitions for a wizard. - BaseWizardStateMachine() - Constructor for class io.github.astrapi69.design.pattern.state.wizard.BaseWizardStateMachine
- BaseWizardStateMachineModel<T> - Class in io.github.astrapi69.design.pattern.state.wizard.model
-
The class
BaseWizardStateMachineModelimplementsIBaseWizardStateMachineand manages the state transitions for a wizard with a model object. - BaseWizardStateMachineModel() - Constructor for class io.github.astrapi69.design.pattern.state.wizard.model.BaseWizardStateMachineModel
- ButtonState<ST> - Interface in io.github.astrapi69.design.pattern.state.button
-
The interface
ButtonStaterepresents a state in a button state machine. - ButtonStateMachine<T,
ST> - Class in io.github.astrapi69.design.pattern.state.button -
The abstract class
ButtonStateMachinecan provide states on buttons. - ButtonStateMachine() - Constructor for class io.github.astrapi69.design.pattern.state.button.ButtonStateMachine
C
- cancel() - Method in class io.github.astrapi69.design.pattern.state.wizard.BaseWizardStateMachine
-
Cancels the wizard by transitioning to the cancel state.
- cancel() - Method in interface io.github.astrapi69.design.pattern.state.wizard.IBaseWizardStateMachine
-
Cancels the wizard.
- cancel() - Method in class io.github.astrapi69.design.pattern.state.wizard.model.BaseWizardStateMachineModel
-
Cancels the wizard by transitioning to the cancel state.
- cancel(ST) - Method in interface io.github.astrapi69.design.pattern.state.wizard.BaseWizardState
-
Cancel the
BaseWizardState. - ComponentStateMachine<C,
S> - Class in io.github.astrapi69.design.pattern.state.component -
The abstract class
ComponentStateMachinecan provide states on components. - ComponentStateMachine() - Constructor for class io.github.astrapi69.design.pattern.state.component.ComponentStateMachine
F
- finish() - Method in class io.github.astrapi69.design.pattern.state.wizard.BaseWizardStateMachine
-
Finishes the wizard by transitioning to the finish state.
- finish() - Method in interface io.github.astrapi69.design.pattern.state.wizard.IBaseWizardStateMachine
-
Finishes the wizard.
- finish() - Method in class io.github.astrapi69.design.pattern.state.wizard.model.BaseWizardStateMachineModel
-
Finishes the wizard by transitioning to the finish state.
- finish(ST) - Method in interface io.github.astrapi69.design.pattern.state.wizard.BaseWizardState
-
Finish the
BaseWizardState.
G
- getCurrentState() - Method in interface io.github.astrapi69.design.pattern.state.wizard.IWizardStateMachine
-
Gets the current state.
- getName() - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Gets the simple name of this
WizardStateobject. - getWizardStateInfo() - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Gets the
WizardStateInfoobject. - goNext(ST) - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Go to the next
WizardStateobject. - goPrevious(ST) - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Go to the previous
WizardStateobject.
H
- hasNext() - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Checks if this
WizardStateobject has a nextWizardStateobject. - hasPrevious() - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Checks if this
WizardStateobject has a previousWizardStateobject.
I
- IBaseWizardStateMachine<S> - Interface in io.github.astrapi69.design.pattern.state.wizard
-
The interface
IBaseWizardStateMachineextendsIWizardStateMachineand adds methods for canceling and finishing the wizard. - io.github.astrapi69.design.pattern.state.button - package io.github.astrapi69.design.pattern.state.button
- io.github.astrapi69.design.pattern.state.component - package io.github.astrapi69.design.pattern.state.component
- io.github.astrapi69.design.pattern.state.wizard - package io.github.astrapi69.design.pattern.state.wizard
- io.github.astrapi69.design.pattern.state.wizard.model - package io.github.astrapi69.design.pattern.state.wizard.model
- io.github.astrapisixtynine.design.patterns.state - module io.github.astrapisixtynine.design.patterns.state
-
The MIT License Copyright (C) 2024 Asterios Raptis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- isFirst() - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Checks if this
WizardStateobject is the firstWizardStateobject. - isLast() - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Checks if this
WizardStateobject is the lastWizardStateobject. - IWizardStateMachine<S> - Interface in io.github.astrapi69.design.pattern.state.wizard
-
The interface
IWizardStateMachinerepresents a state machine for a wizard.
N
- NavigationEventState - Enum Class in io.github.astrapi69.design.pattern.state.wizard.model
-
The enum
NavigationEventStaterepresents different states of navigation events that can occur in a wizard navigation process - next() - Method in class io.github.astrapi69.design.pattern.state.wizard.BaseWizardStateMachine
-
Go to the next
WizardStateobject. - next() - Method in interface io.github.astrapi69.design.pattern.state.wizard.IWizardStateMachine
-
Go to the next
WizardStateobject. - next() - Method in class io.github.astrapi69.design.pattern.state.wizard.model.BaseWizardStateMachineModel
-
Go to the next
WizardStateobject. - next() - Method in class io.github.astrapi69.design.pattern.state.wizard.WizardStateMachine
-
Go to the next
WizardStateobject.
P
- previous() - Method in class io.github.astrapi69.design.pattern.state.wizard.BaseWizardStateMachine
-
Go to the previous
WizardStateobject. - previous() - Method in interface io.github.astrapi69.design.pattern.state.wizard.IWizardStateMachine
-
Go to the previous
WizardStateobject. - previous() - Method in class io.github.astrapi69.design.pattern.state.wizard.model.BaseWizardStateMachineModel
-
Go to the previous
WizardStateobject. - previous() - Method in class io.github.astrapi69.design.pattern.state.wizard.WizardStateMachine
-
Go to the previous
WizardStateobject.
R
- RESET - Enum constant in enum class io.github.astrapi69.design.pattern.state.wizard.model.NavigationEventState
-
The RESET state indicates that the navigation should reset to its initial state
S
- setCurrentState(S) - Method in interface io.github.astrapi69.design.pattern.state.wizard.IWizardStateMachine
-
Sets the current state.
- setEnabled(boolean) - Method in class io.github.astrapi69.design.pattern.state.button.ButtonStateMachine
-
Sets the enabled state of the button.
- setEnabled(boolean) - Method in class io.github.astrapi69.design.pattern.state.component.AbstractJComponentStateMachine
-
Sets the enabled state of the JComponent.
- setEnabled(boolean) - Method in class io.github.astrapi69.design.pattern.state.component.ComponentStateMachine
-
Sets the enabled flag for the component.
- setFirst(boolean) - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Sets the first flag.
- setLast(boolean) - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Sets the last flag.
- setName(String) - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Sets the name.
- setNext(boolean) - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Sets the next flag.
- setPrevious(boolean) - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Sets the previous flag.
- setWizardStateInfo(WizardStateInfo) - Method in interface io.github.astrapi69.design.pattern.state.wizard.WizardState
-
Sets the new wizard state info object.
U
- UPDATE - Enum constant in enum class io.github.astrapi69.design.pattern.state.wizard.model.NavigationEventState
-
The UPDATE state indicates that the navigation should update its current state
- updateButtonState() - Method in class io.github.astrapi69.design.pattern.state.button.ButtonStateMachine
-
Updates the state of the button.
- updateComponentState() - Method in class io.github.astrapi69.design.pattern.state.component.ComponentStateMachine
-
Updates the state of the component.
V
- VALIDATE - Enum constant in enum class io.github.astrapi69.design.pattern.state.wizard.model.NavigationEventState
-
The VALIDATE state indicates that the navigation should validate its current state
- valueOf(String) - Static method in enum class io.github.astrapi69.design.pattern.state.wizard.model.NavigationEventState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.astrapi69.design.pattern.state.wizard.model.NavigationEventState
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WizardState<ST> - Interface in io.github.astrapi69.design.pattern.state.wizard
-
The interface
WizardStaterepresents a state in a wizard. - WizardStateInfo - Class in io.github.astrapi69.design.pattern.state.wizard.model
-
The class
WizardStateInforepresents the state information of a wizard step. - WizardStateInfo() - Constructor for class io.github.astrapi69.design.pattern.state.wizard.model.WizardStateInfo
- WizardStateMachine - Class in io.github.astrapi69.design.pattern.state.wizard
-
The class
WizardStateMachineimplementsIWizardStateMachineand manages the state transitions for a wizard. - WizardStateMachine() - Constructor for class io.github.astrapi69.design.pattern.state.wizard.WizardStateMachine
All Classes and Interfaces|All Packages