public static enum Notification.NotificationType extends java.lang.Enum<Notification.NotificationType>
Enum Constant and Description |
---|
ERROR
Color will be red.
|
MESSAGE
Color will be blue.
|
WARNING
Color will be yellow.
|
Modifier and Type | Method and Description |
---|---|
static Notification.NotificationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Notification.NotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Notification.NotificationType MESSAGE
public static final Notification.NotificationType WARNING
public static final Notification.NotificationType ERROR
public static Notification.NotificationType[] values()
for (Notification.NotificationType c : Notification.NotificationType.values()) System.out.println(c);
public static Notification.NotificationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa