Package io.jmix.ui
Class Notifications.CloseEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.Notifications.CloseEvent
- All Implemented Interfaces:
HasUserOriginated
,Serializable
- Enclosing interface:
- Notifications
An event that is fired when notification is closed.
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.ui.Notification
boolean
Returns whether this event was triggered by user interaction or programmatically.Methods inherited from class java.util.EventObject
toString
-
Field Details
-
userOriginated
protected boolean userOriginated
-
-
Constructor Details
-
CloseEvent
public CloseEvent(com.vaadin.ui.Notification source, boolean userOriginated)
-
-
Method Details
-
getSource
public com.vaadin.ui.Notification getSource()- Overrides:
getSource
in classEventObject
-
isUserOriginated
public boolean isUserOriginated()Description copied from interface:HasUserOriginated
Returns whether this event was triggered by user interaction or programmatically.- Specified by:
isUserOriginated
in interfaceHasUserOriginated
- Returns:
true
if this event originates by user interaction,false
otherwise.
-