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 Summary
Modifier and TypeFieldDescriptionprotected com.vaadin.flow.component.Component
protected String
protected String
protected String
protected Notifications.Type
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionNotificationOpenedEvent
(com.vaadin.flow.component.notification.Notification notification, String text, String title, String message, com.vaadin.flow.component.Component component, Notifications.Type type) -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
text
-
title
-
message
-
component
protected com.vaadin.flow.component.Component component -
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 classEventObject
-
getText
- Returns:
- the
Notification
text
-
getTitle
- Returns:
- the
Notification
title
-
getMessage
- Returns:
- the
Notification
message
-
getComponent
public com.vaadin.flow.component.Component getComponent()- Returns:
- the
Notification
component
-
getType
- Returns:
- the
Notification
type
-