Class StandardEditor.AfterCommitChangesEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Screen>
io.jmix.flowui.screen.StandardEditor.AfterCommitChangesEvent
All Implemented Interfaces:
Serializable
Enclosing class:
StandardEditor<T>

public static class StandardEditor.AfterCommitChangesEvent extends com.vaadin.flow.component.ComponentEvent<Screen>
Event sent after commit of data context from StandardEditor.commitChanges() call.
Use this event listener to notify users after commit, for example:
     @Subscribe
     protected void onAfterCommit(AfterCommitChanges event) {
         notifications.create().withCaption("Committed").show();
     }
 
See Also:
  • Constructor Details

    • AfterCommitChangesEvent

      public AfterCommitChangesEvent(Screen source)
  • Method Details

    • getDataContext

      public DataContext getDataContext()
      Returns:
      data context of the screen