Class ConfirmationDialog

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.vaadin.flow.component.dialog.Dialog

        com.vaadin.flow.component.dialog.Dialog.DialogCloseActionEvent, com.vaadin.flow.component.dialog.Dialog.DialogFooter, com.vaadin.flow.component.dialog.Dialog.DialogHeader, com.vaadin.flow.component.dialog.Dialog.DialogResizeEvent, com.vaadin.flow.component.dialog.Dialog.OpenedChangeEvent<T extends com.vaadin.flow.component.dialog.GeneratedVaadinDialog<T>>
    • 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
      DefaultButton getOkButton()  
      void setCancelText​(String cancelText)  
      void setConfirmationDescription​(String confirmationDescription)  
      void setConfirmationPrompt​(String confirmationPrompt)  
      void setOkText​(String okText)  
      • Methods inherited from class com.vaadin.flow.component.dialog.Dialog

        add, addAttachListener, addComponentAtIndex, addDetachListener, addDialogCloseActionListener, addOpenedChangeListener, addResizeListener, addThemeVariants, close, getChildren, getFooter, getHeader, getHeaderTitle, getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getStyle, getWidth, isCloseOnEsc, isCloseOnOutsideClick, isDraggable, isModal, isOpened, isResizable, onAttach, open, remove, removeAll, removeThemeVariants, setCloseOnEsc, setCloseOnOutsideClick, setDraggable, setHeaderTitle, setHeight, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setModal, setOpened, setResizable, setVisible, setWidth
      • Methods inherited from class com.vaadin.flow.component.dialog.GeneratedVaadinDialog

        getAriaLabelString, isOpenedBoolean, setAriaLabel
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, findAncestor, fireEvent, from, get, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.HasComponents

        add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasEnabled

        isEnabled, setEnabled
      • 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
      • Methods inherited from interface com.vaadin.flow.component.HasStyle

        addClassName, addClassNames, getClassName, getClassNames, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
      • Methods inherited from interface com.vaadin.flow.component.HasTheme

        addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName
    • 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)