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
- bindChildren(Signal<List<S>>, SerializableFunction<S, Component>) - Method in class com.vaadin.flow.component.notification.Notification
-
Notification does not support binding children directly.
- bindText(Signal<String>) - Method in class com.vaadin.flow.component.notification.Notification
-
Binds the notification text to the given signal.
- 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
E
- ERROR - Enum constant in enum class com.vaadin.flow.component.notification.NotificationVariant
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
- INFO - Enum constant in enum class com.vaadin.flow.component.notification.NotificationVariant
- isAssertive() - Method in class com.vaadin.flow.component.notification.Notification
-
When true, the notification card has
aria-liveattribute set toassertiveinstead ofpolite. - 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
- LUMO_WARNING - 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(Signal<String>) - Constructor for class com.vaadin.flow.component.notification.Notification
-
Creates a Notification with the text bound to the given Signal, that does not close automatically.
- Notification(Signal<String>, int) - Constructor for class com.vaadin.flow.component.notification.Notification
-
Creates a Notification with the text bound to the given Signal and duration.
- Notification(Signal<String>, int, Notification.Position) - Constructor for class com.vaadin.flow.component.notification.Notification
-
Creates a Notification with the text bound to the given Signal, duration and position.
- Notification(Signal<String>, int, Notification.Position, boolean) - Constructor for class com.vaadin.flow.component.notification.Notification
-
Creates a Notification with the text bound to the given Signal, duration, position and assertive state.
- Notification(String) - Constructor for class com.vaadin.flow.component.notification.Notification
-
Creates a Notification with the given String rendered as its 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 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(String, int, Notification.Position, boolean) - Constructor for class com.vaadin.flow.component.notification.Notification
-
Creates a Notification with given text String, duration, position and assertive state.
- 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
- setAssertive(boolean) - Method in class com.vaadin.flow.component.notification.Notification
-
When true, the notification card has
aria-liveattribute set toassertiveinstead ofpolite. - 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.
- show(String, int, Notification.Position, boolean) - Static method in class com.vaadin.flow.component.notification.Notification
-
Shows a notification in the current page with given text, duration, position and assertive state.
- SUCCESS - Enum constant in enum class com.vaadin.flow.component.notification.NotificationVariant
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.
W
- WARNING - Enum constant in enum class com.vaadin.flow.component.notification.NotificationVariant
All Classes and Interfaces|All Packages|Serialized Form