Package io.jmix.ui.builder
Class AfterScreenCloseEvent<S extends Screen>
java.lang.Object
java.util.EventObject
io.jmix.ui.builder.AfterScreenCloseEvent<S>
- Type Parameters:
S
- type of the screen
- All Implemented Interfaces:
Serializable
Event sent to listeners added to the screen using
withAfterCloseListener()
method of screen builders.
Event has a screen type and can be used only in screen builders. This is the main difference from
Screen.AfterCloseEvent
.
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
closedWith
(StandardOutcome outcome) Checks that screen was closed with the givenoutcome
.Methods inherited from class java.util.EventObject
toString
-
Field Details
-
closeAction
-
-
Constructor Details
-
AfterScreenCloseEvent
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getCloseAction
- Returns:
- action passed to the
Screen.close(CloseAction)
method of the screen.
-
closedWith
Checks that screen was closed with the givenoutcome
.
-