Class ProgressViewDialog

  • 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

    public class ProgressViewDialog
    extends com.vaadin.flow.component.dialog.Dialog
    A custom dialog for displaying progress and results of a synchronization job.
    Author:
    Hardy Ryan Chingal Martinez
    See Also:
    Serialized Form
    • 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.DialogResizeEvent
      • Nested classes/interfaces inherited from class com.vaadin.flow.component.dialog.GeneratedVaadinDialog

        com.vaadin.flow.component.dialog.GeneratedVaadinDialog.OpenedChangeEvent<R extends com.vaadin.flow.component.dialog.GeneratedVaadinDialog<R>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void updateValues​(JobProgressMessage progress, List<SyncResult> syncResults)
      Update the values and UI components of the dialog based on the progress and sync results.
      • 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, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.HasComponents

        add, addComponentAsFirst
      • 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

        getHeightUnit, getWidthUnit, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFull
      • Methods inherited from interface com.vaadin.flow.component.HasTheme

        addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName
    • Constructor Detail

      • ProgressViewDialog

        public ProgressViewDialog​(TranslationService ts,
                                  LoggingService log)
        Constructs a `ProgressViewDialog`.
        Parameters:
        ts - The TranslationService for localization.
    • Method Detail

      • updateValues

        public void updateValues​(JobProgressMessage progress,
                                 List<SyncResult> syncResults)
        Update the values and UI components of the dialog based on the progress and sync results.
        Parameters:
        progress - The job progress.
        syncResults - The list of synchronization results.