public enum FeedbackMessageType extends java.lang.Enum<FeedbackMessageType>
Modifier and Type | Field and Description |
---|---|
private java.awt.Color |
backgroundColor |
private javax.swing.Icon |
displayIcon |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getBackgroundColor()
Get the background color for this FeedbackMessageType.
|
javax.swing.Icon |
getDisplayIcon()
Get the display icon for this FeedbackMessageType.
|
static FeedbackMessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FeedbackMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeedbackMessageType INFO
public static final FeedbackMessageType WARNING
public static final FeedbackMessageType ERROR
private java.awt.Color backgroundColor
private javax.swing.Icon displayIcon
public static FeedbackMessageType[] values()
for (FeedbackMessageType c : FeedbackMessageType.values()) System.out.println(c);
public static FeedbackMessageType 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 nullpublic java.awt.Color getBackgroundColor()
public javax.swing.Icon getDisplayIcon()