public static class Notifications.CloseEvent extends java.util.EventObject implements HasUserOriginated
Modifier and Type | Field and Description |
---|---|
protected boolean |
userOriginated |
Constructor and Description |
---|
CloseEvent(com.vaadin.ui.Notification source,
boolean userOriginated) |
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.Notification |
getSource() |
boolean |
isUserOriginated()
Returns whether this event was triggered by user interaction or programmatically.
|
public CloseEvent(com.vaadin.ui.Notification source, boolean userOriginated)
public com.vaadin.ui.Notification getSource()
getSource
in class java.util.EventObject
public boolean isUserOriginated()
HasUserOriginated
isUserOriginated
in interface HasUserOriginated
true
if this event originates by user interaction, false
otherwise.