Package eu.miltema.uiannot
Enum Badge.Style
- java.lang.Object
-
- java.lang.Enum<Badge.Style>
-
- eu.miltema.uiannot.Badge.Style
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Badge.Style>
- Enclosing class:
- Badge
public static enum Badge.Style extends java.lang.Enum<Badge.Style>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Badge.StylevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Badge.Style[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final Badge.Style SUCCESS
-
INFO
public static final Badge.Style INFO
-
WARNING
public static final Badge.Style WARNING
-
ERROR
public static final Badge.Style ERROR
-
DISABLED
public static final Badge.Style DISABLED
-
PRIMARY
public static final Badge.Style PRIMARY
-
SECONDARY
public static final Badge.Style SECONDARY
-
DEFAULT
public static final Badge.Style DEFAULT
-
-
Method Detail
-
values
public static Badge.Style[] 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 (Badge.Style c : Badge.Style.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Badge.Style valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-