Class ConfirmationDialog
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.dialog.GeneratedVaadinDialog<com.vaadin.flow.component.dialog.Dialog>
-
- com.vaadin.flow.component.dialog.Dialog
-
- org.vaadin.firitin.components.dialog.VDialog
-
- org.vaadin.firitin.components.dialog.ConfirmationDialog
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasTheme,Serializable,FluentAttachNotifier<VDialog>,FluentComponent<VDialog>,FluentDetachNotifier<VDialog>,FluentHasComponents<VDialog>,FluentHasSize<VDialog>
public class ConfirmationDialog extends VDialog
Simple confirmation dialog. Designed for ConfirmButton and DeleteButton, but can be used as such as well.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfirmationDialog(String confirmationPrompt, com.vaadin.flow.server.Command action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultButtongetOkButton()voidsetCancelText(String cancelText)voidsetConfirmationDescription(String confirmationDescription)voidsetConfirmationPrompt(String confirmationPrompt)voidsetOkText(String okText)-
Methods inherited from class org.vaadin.firitin.components.dialog.VDialog
withCloseOnEsc, withCloseOnOutsideClick, withComponentAtIndex, withDialogCloseActionListener, withDraggable, withModal, withOpened, withOpenedChangeListener, withResizable
-
Methods inherited from class com.vaadin.flow.component.dialog.Dialog
add, addAttachListener, addComponentAtIndex, addDetachListener, addDialogCloseActionListener, addOpenedChangeListener, addResizeListener, addThemeVariants, close, getChildren, getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, isCloseOnEsc, isCloseOnOutsideClick, isDraggable, isModal, isOpened, isResizable, onAttach, open, remove, removeAll, removeThemeVariants, setCloseOnEsc, setCloseOnOutsideClick, setDraggable, setHeight, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setModal, setOpened, setResizable, setWidth
-
Methods inherited from class com.vaadin.flow.component.dialog.GeneratedVaadinDialog
getAriaLabelString, isOpenedBoolean, setAriaLabel
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentAttachNotifier
withAttachListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent
setId, setVisible, withId, withVisible
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier
withDetachListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasComponents
withComponentAsFirst, withComponents
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasSize
withFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidth
-
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
-
-
-
-
Constructor Detail
-
ConfirmationDialog
public ConfirmationDialog(String confirmationPrompt, com.vaadin.flow.server.Command action)
-
-
Method Detail
-
setConfirmationPrompt
public void setConfirmationPrompt(String confirmationPrompt)
-
setConfirmationDescription
public void setConfirmationDescription(String confirmationDescription)
-
setOkText
public void setOkText(String okText)
-
setCancelText
public void setCancelText(String cancelText)
-
getOkButton
public DefaultButton getOkButton()
-
-