Package io.jmix.flowui.view
Class StandardDetailView.AfterSaveEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<View<?>>
io.jmix.flowui.view.StandardDetailView.AfterSaveEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- StandardDetailView<T>
public static class StandardDetailView.AfterSaveEvent
extends com.vaadin.flow.component.ComponentEvent<View<?>>
Event sent after saving the view data context.
Use this event listener to notify users after save, for example:
Use this event listener to notify users after save, for example:
@Subscribe protected void onAfterSave(AfterSaveEvent event) { notifications.show("Saved"); }
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
AfterSaveEvent
-
-
Method Details
-
getDataContext
- Returns:
- data context of the view
-