Package de.willuhn.jameica.gui.parts
Enum Placeholder.Style
- java.lang.Object
-
- java.lang.Enum<Placeholder.Style>
-
- de.willuhn.jameica.gui.parts.Placeholder.Style
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Placeholder.Style>
- Enclosing class:
- Placeholder
public static enum Placeholder.Style extends java.lang.Enum<Placeholder.Style>
Vorkonfigurierte Styles.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONE
Vorkonfigurierter Style fuer "Fertig, nichts zu tun".EMPTY
Vorkonfigurierter Style fuer "Keine Daten".ERROR
Vorkonfigurierter Style fuer "Fehler".LOADING
Vorkonfigurierter Style fuer "Lade...".WAIT
Vorkonfigurierter Style fuer "Bitte warten...".
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Placeholder.Style
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Placeholder.Style[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMPTY
public static final Placeholder.Style EMPTY
Vorkonfigurierter Style fuer "Keine Daten".
-
LOADING
public static final Placeholder.Style LOADING
Vorkonfigurierter Style fuer "Lade...".
-
WAIT
public static final Placeholder.Style WAIT
Vorkonfigurierter Style fuer "Bitte warten...".
-
DONE
public static final Placeholder.Style DONE
Vorkonfigurierter Style fuer "Fertig, nichts zu tun".
-
ERROR
public static final Placeholder.Style ERROR
Vorkonfigurierter Style fuer "Fehler".
-
-
Method Detail
-
values
public static Placeholder.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 (Placeholder.Style c : Placeholder.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 Placeholder.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
-
-