Package | Description |
---|---|
com.vaadin.flow.component.confirmdialog |
Modifier and Type | Method and Description |
---|---|
Registration |
ConfirmDialog.addConfirmListener(ComponentEventListener<ConfirmDialog.ConfirmEvent> listener)
Adds `confirm` event listener
|
void |
ConfirmDialog.setConfirmButton(String buttonText,
ComponentEventListener<ConfirmDialog.ConfirmEvent> confirmListener)
Sets Confirm button text and `confirm` event listener
|
void |
ConfirmDialog.setConfirmButton(String buttonText,
ComponentEventListener<ConfirmDialog.ConfirmEvent> confirmListener,
String theme)
Sets Confirm button text, `confirm` event listener and Confirm button
theme
|
Constructor and Description |
---|
ConfirmDialog(String header,
String text,
String confirmText,
ComponentEventListener<ConfirmDialog.ConfirmEvent> confirmListener)
Creates a dialog with a Confirm button with its click listener and a
given texts
|
ConfirmDialog(String header,
String text,
String confirmText,
ComponentEventListener<ConfirmDialog.ConfirmEvent> confirmListener,
String cancelText,
ComponentEventListener<ConfirmDialog.CancelEvent> cancelListener)
Creates a two button dialog with Confirm and Cancel buttons
|
ConfirmDialog(String header,
String text,
String confirmText,
ComponentEventListener<ConfirmDialog.ConfirmEvent> confirmListener,
String rejectText,
ComponentEventListener<ConfirmDialog.RejectEvent> rejectListener,
String cancelText,
ComponentEventListener<ConfirmDialog.CancelEvent> cancelListener)
Creates a three button dialog with Confirm, Reject and Cancel buttons
|
Copyright © 2025. All rights reserved.