We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.
Class Notification.CloseEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Notification.CloseEvent
-
All Implemented Interfaces:
Enclosing class:
public static class Notification.CloseEvent extends ConnectorEvent implements HasUserOriginated
Event fired when a notification is closed.
Since:
8.2
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description CloseEvent(Notification source)
CloseEvent(Notification source, boolean userOriginated)
-
Method Summary
All Methods Modifier and Type Method Description Notification
getNotification()
Gets the Notification.
boolean
isUserOriginated()
Returns whether this event was triggered by user interaction, on the client side, or programmatically, on the server side.
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
CloseEvent
public CloseEvent(Notification source)
Parameters:
source
-
-
CloseEvent
public CloseEvent(Notification source, boolean userOriginated)
-
-
Method Detail
-
getNotification
public Notification getNotification()
Gets the Notification.
Returns:
The Notification
-
isUserOriginated
public boolean isUserOriginated()
Description copied from interface:
HasUserOriginated
Returns whether this event was triggered by user interaction, on the client side, or programmatically, on the server side.
Specified by:
isUserOriginated
in interfaceHasUserOriginated
Returns:
true
if this event originates from the client,false
otherwise.
-
-