Class ProgressViewDialog
- 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.neotropic.kuwaiba.modules.commercial.sync.components.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
-
-
Constructor Summary
Constructors Constructor Description ProgressViewDialog(TranslationService ts, LoggingService log)
Constructs a `ProgressViewDialog`.
-
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
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.
-
-