public static enum Stepper.StepState extends Enum<Stepper.StepState>
Step possible states| Enum Constant and Description |
|---|
ACTIVE |
COMPLETED |
DISABLED |
ERROR |
INACTIVE |
| Modifier and Type | Method and Description |
|---|---|
String |
getStyle() |
elemental2.dom.Node |
render(Step step,
Stepper.StepStateColors colors,
Stepper.StepNumberRenderer stepNumberRenderer)
This method will be called whenever the Step state is changed, the method will use the
Stepper.StepNumberRenderer to render the step number based on the new step state |
static Stepper.StepState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Stepper.StepState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Stepper.StepState ACTIVE
public static final Stepper.StepState INACTIVE
public static final Stepper.StepState ERROR
public static final Stepper.StepState COMPLETED
public static final Stepper.StepState DISABLED
public static Stepper.StepState[] values()
for (Stepper.StepState c : Stepper.StepState.values()) System.out.println(c);
public static Stepper.StepState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic elemental2.dom.Node render(Step step, Stepper.StepStateColors colors, Stepper.StepNumberRenderer stepNumberRenderer)
Stepper.StepNumberRenderer to render the step number based on the new step statestep - Step that has it is state changedcolors - Stepper.StepStateColorsstepNumberRenderer - Stepper.StepNumberRendererNode to be used as the step number elementpublic String getStyle()
Copyright © 2019–2022 Dominokit. All rights reserved.