Class NotificationOpenedEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.jmix.flowui.event.notification.NotificationOpenedEvent
All Implemented Interfaces:
Serializable

public class NotificationOpenedEvent extends org.springframework.context.ApplicationEvent
Application event that is sent after the notification is shown.
See Also:
  • Field Details

    • text

      protected String text
    • title

      protected String title
    • message

      protected String message
    • component

      protected com.vaadin.flow.component.Component component
    • type

      protected Notifications.Type type
  • Constructor Details

    • NotificationOpenedEvent

      public NotificationOpenedEvent(com.vaadin.flow.component.notification.Notification notification, String text, String title, String message, com.vaadin.flow.component.Component component, Notifications.Type type)
  • Method Details

    • getSource

      public com.vaadin.flow.component.notification.Notification getSource()
      Overrides:
      getSource in class EventObject
    • getText

      public String getText()
      Returns:
      the Notification text
    • getTitle

      public String getTitle()
      Returns:
      the Notification title
    • getMessage

      public String getMessage()
      Returns:
      the Notification message
    • getComponent

      public com.vaadin.flow.component.Component getComponent()
      Returns:
      the Notification component
    • getType

      public Notifications.Type getType()
      Returns:
      the Notification type