Class ViewAfterCloseEvent<V extends View<?>>

java.lang.Object
java.util.EventObject
io.jmix.tabbedmode.builder.ViewAfterCloseEvent<V>
Type Parameters:
V - the type of the view that is the source of this event
All Implemented Interfaces:
Serializable

public class ViewAfterCloseEvent<V extends View<?>> extends EventObject
Application event that encapsulates information about a view that has been closed. It contains information about the source view and the associated close action.
See Also:
  • Field Details

    • closeAction

      protected final CloseAction closeAction
  • Constructor Details

    • ViewAfterCloseEvent

      public ViewAfterCloseEvent(V source, CloseAction closeAction)
  • Method Details

    • getSource

      public V getSource()
      Overrides:
      getSource in class EventObject
    • getCloseAction

      public CloseAction getCloseAction()
      Returns the close action associated with the event.
      Returns:
      the close action associated with the event
    • closedWith

      public boolean closedWith(StandardOutcome outcome)
      Returns whether the view was closed with the specified close action.
      Parameters:
      outcome - the close action to check against the close action associated with the event
      Returns:
      whether the view was closed with the specified close action