Package io.jmix.tabbedmode.builder
Class ViewAfterCloseEvent<V extends View<?>>
java.lang.Object
java.util.EventObject
io.jmix.tabbedmode.builder.ViewAfterCloseEvent<V>
- Type Parameters:
V
- the type of the view that is the source of this event
- All Implemented Interfaces:
Serializable
Application event that encapsulates information about a view that has been closed.
It contains information about the source view and the associated close action.
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
closedWith
(StandardOutcome outcome) Returns whether the view was closed with the specified close action.Returns the close action associated with the event.Methods inherited from class java.util.EventObject
toString
-
Field Details
-
closeAction
-
-
Constructor Details
-
ViewAfterCloseEvent
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getCloseAction
Returns the close action associated with the event.- Returns:
- the close action associated with the event
-
closedWith
Returns whether the view was closed with the specified close action.- Parameters:
outcome
- the close action to check against the close action associated with the event- Returns:
- whether the view was closed with the specified close action
-