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
FieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.component.Componentprotected Stringprotected Stringprotected Stringprotected Notifications.TypeFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionNotificationOpenedEvent(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
getTimestampMethods 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:
getSourcein classEventObject
-
getText
- Returns:
- the
Notificationtext
-
getTitle
- Returns:
- the
Notificationtitle
-
getMessage
- Returns:
- the
Notificationmessage
-
getComponent
public com.vaadin.flow.component.Component getComponent()- Returns:
- the
Notificationcomponent
-
getType
- Returns:
- the
Notificationtype
-