Package com.jbstrap.ui.components.wizard
Enum Class WizardStepState
- All Implemented Interfaces:
Serializable
,Comparable<WizardStepState>
,Constable
Possible wizard step states.
- Since:
- 4.0
- Author:
- JBStrap
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionActive
A step is in “active” state if it is currently displayed to the user on the interface .Disabled
A step is in “disabled” state if it has been disabled by the code and the user is not allowed to re-enable it.Done
A step is in “done” state if the user has completed the step and successfully proceeds to the next one using the navigation buttons.Invalid
A step is in “invalid” state if the user has previously completed the step, but navigates back to the previous step and modifies data.Progress
A step is in “progress” state if the user has displayed it, that is, started to enter data, but left the step using either the “Previous” button or the header.Subsequent
A step is in “subsequent” state if the user has not displayed while using the wizard component. -
Method Summary
Modifier and TypeMethodDescriptionstatic WizardStepState
Returns the enum constant of this class with the specified name.static WizardStepState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DONE
Done
A step is in “done” state if the user has completed the step and successfully proceeds to the next one using the navigation buttons. -
INVALID
Invalid
A step is in “invalid” state if the user has previously completed the step, but navigates back to the previous step and modifies data. It is possible that the modification made in the previous step makes data in the current step invalid. The step itself becomes invalid in order for the user to check data validity once again. -
ACTIVE
Active
A step is in “active” state if it is currently displayed to the user on the interface . -
PROGRESS
Progress
A step is in “progress” state if the user has displayed it, that is, started to enter data, but left the step using either the “Previous” button or the header. -
SUBSEQUENT
Subsequent
A step is in “subsequent” state if the user has not displayed while using the wizard component. -
DISABLED
Disabled
A step is in “disabled” state if it has been disabled by the code and the user is not allowed to re-enable it. Disabled steps are skipped during the navigation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getStyleClass
- Returns:
- The state’s style class name or
null
if there is no style class for the state
-