Enum InlineNotification.InlineNotificationType
- java.lang.Object
-
- java.lang.Enum<InlineNotification.InlineNotificationType>
-
- org.uberfire.client.views.pfly.widgets.InlineNotification.InlineNotificationType
-
- All Implemented Interfaces:
Serializable,Comparable<InlineNotification.InlineNotificationType>
- Enclosing class:
- InlineNotification
public static enum InlineNotification.InlineNotificationType extends Enum<InlineNotification.InlineNotificationType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCssClass()StringgetIcon()static InlineNotification.InlineNotificationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static InlineNotification.InlineNotificationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final InlineNotification.InlineNotificationType SUCCESS
-
INFO
public static final InlineNotification.InlineNotificationType INFO
-
WARNING
public static final InlineNotification.InlineNotificationType WARNING
-
DANGER
public static final InlineNotification.InlineNotificationType DANGER
-
-
Method Detail
-
values
public static InlineNotification.InlineNotificationType[] 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 (InlineNotification.InlineNotificationType c : InlineNotification.InlineNotificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InlineNotification.InlineNotificationType 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
-
getCssClass
public String getCssClass()
-
getIcon
public String getIcon()
-
-