Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(Collection<Component>) - Method in class com.vaadin.flow.component.notification.Notification
-
Adds the given components into this notification.
- addAttachListener(ComponentEventListener<AttachEvent>) - Method in class com.vaadin.flow.component.notification.Notification
- addComponentAtIndex(int, Component) - Method in class com.vaadin.flow.component.notification.Notification
-
Adds the given component into this notification at the given index.
- addDetachListener(ComponentEventListener<DetachEvent>) - Method in class com.vaadin.flow.component.notification.Notification
- addOpenedChangeListener(ComponentEventListener<Notification.OpenedChangeEvent>) - Method in class com.vaadin.flow.component.notification.Notification
-
Adds a listener for
opened-changedevents fired by the webcomponent.
B
- BOTTOM_CENTER - Enum constant in enum class com.vaadin.flow.component.notification.Notification.Position
- BOTTOM_END - Enum constant in enum class com.vaadin.flow.component.notification.Notification.Position
- BOTTOM_START - Enum constant in enum class com.vaadin.flow.component.notification.Notification.Position
- BOTTOM_STRETCH - Enum constant in enum class com.vaadin.flow.component.notification.Notification.Position
C
- close() - Method in class com.vaadin.flow.component.notification.Notification
-
Closes the notification.
- com.vaadin.flow.component.notification - package com.vaadin.flow.component.notification
G
- getClassNames() - Method in class com.vaadin.flow.component.notification.Notification
- getClientName() - Method in enum class com.vaadin.flow.component.notification.Notification.Position
-
Gets name that is used in the client side representation of the component.
- getDuration() - Method in class com.vaadin.flow.component.notification.Notification
-
The duration in milliseconds to show the notification.
- getPosition() - Method in class com.vaadin.flow.component.notification.Notification
-
Description copied from corresponding location in WebComponent:
- getStyle() - Method in class com.vaadin.flow.component.notification.Notification
- getVariantName() - Method in enum class com.vaadin.flow.component.notification.NotificationVariant
-
Gets the variant name.
I
- isOpened() - Method in class com.vaadin.flow.component.notification.Notification
-
True if the notification is currently displayed.
- isOpened() - Method in class com.vaadin.flow.component.notification.Notification.OpenedChangeEvent
L
- LUMO_CONTRAST - Enum constant in enum class com.vaadin.flow.component.notification.NotificationVariant
- LUMO_ERROR - Enum constant in enum class com.vaadin.flow.component.notification.NotificationVariant
- LUMO_PRIMARY - Enum constant in enum class com.vaadin.flow.component.notification.NotificationVariant
- LUMO_SUCCESS - Enum constant in enum class com.vaadin.flow.component.notification.NotificationVariant
M
- MIDDLE - Enum constant in enum class com.vaadin.flow.component.notification.Notification.Position
N
- Notification - Class in com.vaadin.flow.component.notification
-
Notifications are used to provide feedback to the user.
- Notification() - Constructor for class com.vaadin.flow.component.notification.Notification
-
Default constructor.
- Notification(Component...) - Constructor for class com.vaadin.flow.component.notification.Notification
-
Creates a notification with given components inside.
- Notification(String) - Constructor for class com.vaadin.flow.component.notification.Notification
-
Creates a Notification with the given String rendered as its HTML text, that does not close automatically.
- Notification(String, int) - Constructor for class com.vaadin.flow.component.notification.Notification
-
Creates a Notification with given String rendered as its HTML text and given Integer rendered as its duration.
- Notification(String, int, Notification.Position) - Constructor for class com.vaadin.flow.component.notification.Notification
-
Creates a Notification with given text String, duration and position
- Notification.OpenedChangeEvent - Class in com.vaadin.flow.component.notification
-
opened-changedevent is sent when the notification opened state changes. - Notification.Position - Enum Class in com.vaadin.flow.component.notification
-
Enumeration of all available positions for notification component
- NotificationVariant - Enum Class in com.vaadin.flow.component.notification
-
Set of theme variants applicable for
vaadin-notificationcomponent.
O
- onAttach(AttachEvent) - Method in class com.vaadin.flow.component.notification.Notification
- onDetach(DetachEvent) - Method in class com.vaadin.flow.component.notification.Notification
- open() - Method in class com.vaadin.flow.component.notification.Notification
-
Opens the notification.
- OpenedChangeEvent(Notification, boolean) - Constructor for class com.vaadin.flow.component.notification.Notification.OpenedChangeEvent
S
- setClassName(String) - Method in class com.vaadin.flow.component.notification.Notification
-
Sets the CSS class names of the notification overlay element.
- setDuration(int) - Method in class com.vaadin.flow.component.notification.Notification
-
The duration in milliseconds to show the notification.
- setOpened(boolean) - Method in class com.vaadin.flow.component.notification.Notification
-
Opens or closes the notification.
- setPosition(Notification.Position) - Method in class com.vaadin.flow.component.notification.Notification
-
Set position of the notification.
- setText(String) - Method in class com.vaadin.flow.component.notification.Notification
-
Set the text of the notification with given String
- show(String) - Static method in class com.vaadin.flow.component.notification.Notification
-
Shows a notification in the current page with given text.
- show(String, int, Notification.Position) - Static method in class com.vaadin.flow.component.notification.Notification
-
Shows a notification in the current page with given text, duration and position.
T
- TOP_CENTER - Enum constant in enum class com.vaadin.flow.component.notification.Notification.Position
- TOP_END - Enum constant in enum class com.vaadin.flow.component.notification.Notification.Position
- TOP_START - Enum constant in enum class com.vaadin.flow.component.notification.Notification.Position
- TOP_STRETCH - Enum constant in enum class com.vaadin.flow.component.notification.Notification.Position
V
- valueOf(String) - Static method in enum class com.vaadin.flow.component.notification.Notification.Position
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.vaadin.flow.component.notification.NotificationVariant
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vaadin.flow.component.notification.Notification.Position
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.vaadin.flow.component.notification.NotificationVariant
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form