Package io.jmix.flowui
Class Notifications
java.lang.Object
io.jmix.flowui.Notifications
Configures and displays popup notifications.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA builder that configures and displays notifications.static enumNotification type.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected UiComponentProperties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) 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
- 
applicationContextprotected org.springframework.context.ApplicationContext applicationContext
 
- 
- 
Constructor Details- 
Notifications
 
- 
- 
Method Details- 
setApplicationContext@Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) 
- 
showShows a simple text notification.- Parameters:
- text- notification text
 
- 
showShows a notification with a title and message.- Parameters:
- title- notification title
- message- notification message
 
- 
showpublic void show(com.vaadin.flow.component.Component component) Shows a component in the notification popup.- Parameters:
- component- component to show in notification
 
- 
createReturns a builder for configuring and displaying the notification.- Parameters:
- text- notification text
 
- 
createReturns a builder for configuring and displaying the notification.- Parameters:
- title- notification title
- message- notification message
 
- 
createReturns a builder for configuring and displaying the notification.- Parameters:
- component- component to show in notification
 
 
-