Package io.jmix.flowui
Class Notifications
java.lang.Object
io.jmix.flowui.Notifications
Configures and displays popup notifications.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder that configures and displays notifications.static enum
Notification type. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(com.vaadin.flow.component.Component component) Returns a builder for configuring and displaying the notification.Returns a builder for configuring and displaying the notification.Returns a builder for configuring and displaying the notification.void
show
(com.vaadin.flow.component.Component component) Shows a component in the notification popup.void
Shows a simple text notification.void
Shows a notification with a title and message.
-
Field Details
-
uiComponentProperties
-
-
Constructor Details
-
Notifications
-
-
Method Details
-
show
Shows a simple text notification.- Parameters:
text
- notification text
-
show
Shows a notification with a title and message.- Parameters:
title
- notification titlemessage
- notification message
-
show
public void show(com.vaadin.flow.component.Component component) Shows a component in the notification popup.- Parameters:
component
- component to show in notification
-
create
Returns a builder for configuring and displaying the notification.- Parameters:
text
- notification text
-
create
Returns a builder for configuring and displaying the notification.- Parameters:
title
- notification titlemessage
- notification message
-
create
Returns a builder for configuring and displaying the notification.- Parameters:
component
- component to show in notification
-