Class Screen.AfterCloseEvent

java.lang.Object
java.util.EventObject
io.jmix.ui.screen.Screen.AfterCloseEvent
All Implemented Interfaces:
Serializable
Enclosing class:
Screen

@TriggerOnce public static class Screen.AfterCloseEvent extends EventObject
Event sent after the screen is closed by its Screen.close(CloseAction) method and after Screen.AfterDetachEvent.

In this event listener, you can show notifications or dialogs after closing the screen, for example:

     @Subscribe
     protected void onAfterClose(AfterCloseEvent event) {
         notifications.create().withCaption("Just closed").show();
     }
 
See Also: