Package de.willuhn.jameica.gui.parts
Enum NotificationPanel.Type
- java.lang.Object
-
- java.lang.Enum<NotificationPanel.Type>
-
- de.willuhn.jameica.gui.parts.NotificationPanel.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NotificationPanel.Type>
- Enclosing class:
- NotificationPanel
public static enum NotificationPanel.Type extends java.lang.Enum<NotificationPanel.Type>
Der Typ der Notification.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NotificationPanel.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NotificationPanel.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final NotificationPanel.Type SUCCESS
Erfolgsmeldung.
-
ERROR
public static final NotificationPanel.Type ERROR
Fehler.
-
INFO
public static final NotificationPanel.Type INFO
Hinweis-Meldung.
-
INVISIBLE
public static final NotificationPanel.Type INVISIBLE
Unsichtbar.
-
-
Method Detail
-
values
public static NotificationPanel.Type[] 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 (NotificationPanel.Type c : NotificationPanel.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NotificationPanel.Type 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
-
-