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

public static class Notifications.CloseEvent extends EventObject implements HasUserOriginated
An event that is fired when notification is closed.
See Also:
  • 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 class EventObject
    • isUserOriginated

      public boolean isUserOriginated()
      Description copied from interface: HasUserOriginated
      Returns whether this event was triggered by user interaction or programmatically.
      Specified by:
      isUserOriginated in interface HasUserOriginated
      Returns:
      true if this event originates by user interaction, false otherwise.