Class ConfirmDialog.RejectEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<ConfirmDialog>
com.vaadin.flow.component.confirmdialog.ConfirmDialog.RejectEvent
All Implemented Interfaces:
Serializable
Enclosing class:
ConfirmDialog

@DomEvent("reject") public static class ConfirmDialog.RejectEvent extends com.vaadin.flow.component.ComponentEvent<ConfirmDialog>
Event that is fired when the user clicks the Reject button

Note that the event is fired before the dialog's closing animation has finished. When manually adding / removing the dialog to / from the UI, use the ConfirmDialog.ClosedEvent to wait with the removal until the animation has finished. When relying on the auto-add behavior by just calling ConfirmDialog.open() or ConfirmDialog.setOpened(boolean), this is not necessary.

See Also:
  • Constructor Details

    • RejectEvent

      public RejectEvent(ConfirmDialog source, boolean fromClient)