Enum ProgressBar.State
- java.lang.Object
-
- java.lang.Enum<ProgressBar.State>
-
- com.evolveum.midpoint.gui.api.component.progressbar.ProgressBar.State
-
- All Implemented Interfaces:
Serializable
,Comparable<ProgressBar.State>
- Enclosing class:
- ProgressBar
public static enum ProgressBar.State extends Enum<ProgressBar.State>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCssClass()
static ProgressBar.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProgressBar.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final ProgressBar.State SUCCESS
-
INFO
public static final ProgressBar.State INFO
-
DANGER
public static final ProgressBar.State DANGER
-
WARNINIG
public static final ProgressBar.State WARNINIG
-
SECONDARY
public static final ProgressBar.State SECONDARY
-
PRIMARY
public static final ProgressBar.State PRIMARY
-
-
Method Detail
-
values
public static ProgressBar.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProgressBar.State c : ProgressBar.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProgressBar.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCssClass
public String getCssClass()
-
-