Enum AbstractNotification.NotificationType
- java.lang.Object
-
- java.lang.Enum<AbstractNotification.NotificationType>
-
- org.neotropic.util.visual.notifications.AbstractNotification.NotificationType
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractNotification.NotificationType>
- Enclosing class:
- AbstractNotification
public static enum AbstractNotification.NotificationType extends Enum<AbstractNotification.NotificationType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractNotification.NotificationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractNotification.NotificationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFO
public static final AbstractNotification.NotificationType INFO
An information message.
-
WARNING
public static final AbstractNotification.NotificationType WARNING
A warning message.
-
ERROR
public static final AbstractNotification.NotificationType ERROR
Error message.
-
-
Method Detail
-
values
public static AbstractNotification.NotificationType[] 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 (AbstractNotification.NotificationType c : AbstractNotification.NotificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractNotification.NotificationType 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
-
-