public static enum Notification.Type extends Enum<Notification.Type>
| Enum Constant and Description |
|---|
ASSISTIVE_NOTIFICATION |
ERROR_MESSAGE |
HUMANIZED_MESSAGE |
TRAY_NOTIFICATION |
WARNING_MESSAGE |
| Modifier and Type | Method and Description |
|---|---|
String |
getStyle() |
static Notification.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Notification.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Notification.Type HUMANIZED_MESSAGE
public static final Notification.Type WARNING_MESSAGE
public static final Notification.Type ERROR_MESSAGE
public static final Notification.Type TRAY_NOTIFICATION
public static final Notification.Type ASSISTIVE_NOTIFICATION
public static Notification.Type[] values()
for (Notification.Type c : Notification.Type.values()) System.out.println(c);
public static Notification.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getStyle()
Copyright © 2022 Vaadin Ltd. All rights reserved.