TrayIcon
,
TrayIcon.displayMessage(String, String, MessageType)
Enum Constant and Description |
---|
ERROR
An error message
|
INFO
An information message
|
NONE
Simple message
|
WARNING
A warning message
|
Modifier and Type | Static Method and Description |
---|---|
static TrayIcon.MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TrayIcon.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
for (TrayIcon.MessageType c : TrayIcon.MessageType.values()) System.out.println(c);
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 null