Package io.jmix.flowui.view
Class View.AfterCloseEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<View<?>>
io.jmix.flowui.view.View.AfterCloseEvent
- All Implemented Interfaces:
 Serializable
The second (after 
View.BeforeCloseEvent) event in the view closing process.
 In this event listener, you can show notifications or dialogs after closing the view, for example:
     @Subscribe
     protected void onAfterClose(AfterCloseEvent event) {
         notifications.show("Just closed");
     }
 - 
Field Summary
FieldsFields inherited from class java.util.EventObject
source - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanclosedWith(StandardOutcome outcome) Checks that view was closed with the givenoutcome.Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString 
- 
Field Details
- 
closeAction
 
 - 
 - 
Constructor Details
- 
AfterCloseEvent
 
 - 
 - 
Method Details
- 
getCloseAction
- Returns:
 - action passed to the 
View.close(CloseAction)method orNavigateCloseAction 
 - 
closedWith
Checks that view was closed with the givenoutcome. 
 -