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.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • initTypeField

      public void initTypeField(JmixSelect<NotificationType> typeField)
    • onTypeFieldComponentRenderer

      protected com.vaadin.flow.component.Component onTypeFieldComponentRenderer(NotificationType type)
    • onTypeFieldComponentValueChange

      protected void onTypeFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<NotificationType>,NotificationType> event)
    • getLocalizedNotificationType

      protected String getLocalizedNotificationType(@Nullable NotificationType notificationType)