Package io.jmix.notificationsflowui.view
Class NotificationDetailViewSupport
java.lang.Object
io.jmix.notificationsflowui.view.NotificationDetailViewSupport
@Component("ntf_NotificationDetailViewSupport")
public class NotificationDetailViewSupport
extends Object
Utility class to simplify initialization of detail views for 
InAppNotification entity.- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final Messagesprotected final NotificationTypesRepositoryprotected final UiComponents
- 
Constructor SummaryConstructorsConstructorDescriptionNotificationDetailViewSupport(Messages messages, NotificationTypesRepository notificationTypesRepository, UiComponents uiComponents) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringgetLocalizedNotificationType(NotificationType notificationType) voidinitTypeField(JmixSelect<NotificationType> typeField) protected com.vaadin.flow.component.Componentprotected voidonTypeFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<NotificationType>, NotificationType> event) 
- 
Field Details- 
messages
- 
notificationTypesRepository
- 
uiComponents
 
- 
- 
Constructor Details- 
NotificationDetailViewSupportpublic NotificationDetailViewSupport(Messages messages, NotificationTypesRepository notificationTypesRepository, UiComponents uiComponents) 
 
- 
- 
Method Details- 
initTypeField
- 
onTypeFieldComponentRenderer
- 
onTypeFieldComponentValueChangeprotected void onTypeFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<NotificationType>, NotificationType> event) 
- 
getLocalizedNotificationType
 
-