Package io.jmix.flowui
Class Notifications
java.lang.Object
io.jmix.flowui.Notifications
Configures and displays popup notifications.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder that configures and displays notifications.static enumNotification type. -
Field Summary
Fields -
Constructor Summary
Constructors -
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.voidshow(com.vaadin.flow.component.Component component) Shows a component in the notification popup.voidShows a simple text notification.voidShows 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
-