Class FixedExportDialog<ID extends Serializable,T extends AbstractEntity<ID>>
- 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
-
- com.ocs.dynamo.ui.composite.dialog.BaseModalDialog
-
- com.ocs.dynamo.ui.composite.export.BaseExportDialog<ID,T>
-
- com.ocs.dynamo.ui.composite.export.FixedExportDialog<ID,T>
-
- Type Parameters:
ID- the class of the ID of the entity that is being exportedT- the class of the entity that is being exported
- All Implemented Interfaces:
Buildable,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,Serializable
public class FixedExportDialog<ID extends Serializable,T extends AbstractEntity<ID>> extends BaseExportDialog<ID,T>
A simple dialog window that offers several buttons for exporting data to various formats- Author:
- Bas Rutten
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.ocs.dynamo.ui.composite.export.BaseExportDialog
EXTENSION_CSV, EXTENSION_XLS
-
-
Constructor Summary
Constructors Constructor Description FixedExportDialog(ExportService exportService, EntityModel<T> entityModel, ExportMode exportMode, Supplier<CustomXlsStyleGenerator<ID,T>> customGenerator, Supplier<List<T>> itemsSupplier)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DownloadButtoncreateDownloadCSVButton()protected DownloadButtoncreateDownloadExcelButton()-
Methods inherited from class com.ocs.dynamo.ui.composite.export.BaseExportDialog
doBuild, doBuildButtonBar, getEntityModel, getExportCsvButton, getExportExcelButton, getExportMode, getExportService, getStyleName, getTitle
-
Methods inherited from class com.ocs.dynamo.ui.composite.dialog.BaseModalDialog
build, buildAndOpen, getMessageService, message, message, showNotification
-
Methods inherited from class com.vaadin.flow.component.dialog.Dialog
add, addAttachListener, addComponentAtIndex, addDetachListener, addDialogCloseActionListener, addOpenedChangeListener, addResizeListener, close, getChildren, getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, isCloseOnEsc, isCloseOnOutsideClick, isDraggable, isModal, isOpened, isResizable, open, remove, removeAll, 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, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
-
-
-
Constructor Detail
-
FixedExportDialog
public FixedExportDialog(ExportService exportService, EntityModel<T> entityModel, ExportMode exportMode, Supplier<CustomXlsStyleGenerator<ID,T>> customGenerator, Supplier<List<T>> itemsSupplier)
Constructor- Parameters:
exportService-entityModel-exportMode-customGenerator-itemsSupplier-
-
-
Method Detail
-
createDownloadCSVButton
protected DownloadButton createDownloadCSVButton()
- Specified by:
createDownloadCSVButtonin classBaseExportDialog<ID extends Serializable,T extends AbstractEntity<ID>>
-
createDownloadExcelButton
protected DownloadButton createDownloadExcelButton()
- Specified by:
createDownloadExcelButtonin classBaseExportDialog<ID extends Serializable,T extends AbstractEntity<ID>>
-
-