Class DialogWindow.AfterCloseEvent<V extends View<?>>

java.lang.Object
java.util.EventObject
io.jmix.flowui.view.DialogWindow.AfterCloseEvent<V>
Type Parameters:
V - the type of the view associated with the dialog window
All Implemented Interfaces:
Serializable
Enclosing class:
DialogWindow<V extends View<?>>

public static class DialogWindow.AfterCloseEvent<V extends View<?>> extends EventObject
Represents an event that is fired after a dialog window has been closed.
See Also:
  • Field Details

    • closeAction

      protected final CloseAction closeAction
  • Constructor Details

  • Method Details

    • getSource

      public DialogWindow<V> getSource()
      Overrides:
      getSource in class EventObject
    • getView

      public V getView()
      Returns the view associated with the dialog window.
      Returns:
      the view associated with the dialog window
    • getCloseAction

      public CloseAction getCloseAction()
      Returns the CloseAction that describes how the associated View was closed.
      Returns:
      the close action associated with the closure of the dialog window
    • closedWith

      public boolean closedWith(StandardOutcome outcome)
      Checks if the dialog window was closed with the given StandardOutcome.
      Parameters:
      outcome - the StandardOutcome to check against
      Returns:
      true if the dialog window was closed with the specified StandardOutcome, false otherwise