Class ConfirmDialog.CancelEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<ConfirmDialog>
com.vaadin.flow.component.confirmdialog.ConfirmDialog.CancelEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
ConfirmDialog
@DomEvent("cancel")
public static class ConfirmDialog.CancelEvent
extends ComponentEvent<ConfirmDialog>
Event that is fired when the user clicks the Cancel button or presses
Escape. The event is not sent if the Cancel button is hidden.
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:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
CancelEvent
-