public static enum NotificationDisplayer.Priority extends java.lang.Enum<NotificationDisplayer.Priority>
| Enum Constant | Description |
|---|---|
HIGH |
|
LOW |
|
NORMAL |
|
SILENT |
Priority that shows the notification without details.
|
| Modifier and Type | Method | Description |
|---|---|---|
javax.swing.Icon |
getIcon() |
Returns priority icon
|
static NotificationDisplayer.Priority |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static NotificationDisplayer.Priority[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationDisplayer.Priority HIGH
public static final NotificationDisplayer.Priority NORMAL
public static final NotificationDisplayer.Priority LOW
public static final NotificationDisplayer.Priority SILENT
public static NotificationDisplayer.Priority[] values()
for (NotificationDisplayer.Priority c : NotificationDisplayer.Priority.values()) System.out.println(c);
public static NotificationDisplayer.Priority 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 javax.swing.Icon getIcon()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.