Package io.jmix.ui.screen
Class Screen.AfterShowEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.screen.Screen.AfterShowEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Screen
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(); }
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
AfterShowEvent
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-