Class Screen.AfterShowEvent

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

@TriggerOnce public static class Screen.AfterShowEvent extends EventObject
Event sent right after the screen is shown, i.e. when it is added to the application UI.

In this event listener, you can show notifications, dialogs or other screens. For example:

     @Subscribe
     protected void onAfterShow(AfterShowEvent event) {
         notifications.create().withCaption("Just opened").show();
     }
 
See Also:
  • Constructor Details

    • AfterShowEvent

      public AfterShowEvent(Screen source)
  • Method Details