Package io.jmix.reportsflowui.view.run
Class ReportTableView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.reportsflowui.view.run.ReportTableView
- All Implemented Interfaces:
- com.vaadin.flow.component.AttachNotifier,- com.vaadin.flow.component.DetachNotifier,- com.vaadin.flow.component.HasElement,- com.vaadin.flow.component.HasStyle,- com.vaadin.flow.router.AfterNavigationObserver,- com.vaadin.flow.router.BeforeEnterObserver,- com.vaadin.flow.router.BeforeLeaveObserver,- com.vaadin.flow.router.HasDynamicTitle,- com.vaadin.flow.router.internal.AfterNavigationHandler,- com.vaadin.flow.router.internal.BeforeEnterHandler,- com.vaadin.flow.router.internal.BeforeLeaveHandler,- FragmentOwner,- Serializable
@Route(value="reports/tables",
       layout=DefaultMainViewParent.class)
@ViewController("report_ReportTableView")
@ViewDescriptor("report-table-view.xml")
@DialogMode(width="50em",
            resizable=true)
public class ReportTableView
extends StandardView
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.flowui.view.ViewView.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Actionsprotected DataComponentsprotected DatatypeRegistryprotected InputParametersFragmentprotected Messagesprotected Metadataprotected MetadataToolsprotected Notificationsprotected com.vaadin.flow.component.html.Divprotected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected ReportDeprecated, for removal: This API element is subject to removal in a future version.protected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected ReportOutputDocumentprotected ReportRunnerprotected CollectionLoader<Report>protected StandardSerializationprotected byte[]Deprecated, for removal: This API element is subject to removal in a future version.protected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected Stringprotected UiComponentsprotected ViewValidation
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidcreateColumns(KeyValueCollectionContainer collectionContainer, DataGrid<KeyValueEntity> table, Set<JmixTableData.ColumnInfo> headers) protected KeyValueCollectionContainercreateContainer(String dataSetName, List<KeyValueEntity> keyValueEntities, Map<String, Set<JmixTableData.ColumnInfo>> headerMap) protected DataGrid<KeyValueEntity>createTable(String dataSetName, KeyValueCollectionContainer container, Map<String, Set<JmixTableData.ColumnInfo>> headerMap) protected voiddrawTables(JmixTableData dto) Deprecated, for removal: This API element is subject to removal in a future version.protected voiddrawTables(ReportOutputDocument document) protected StringfindTableCode(Report report) protected voidonBeforeShow(View.BeforeShowEvent event) voidonReportEntityComboBoxComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<EntityComboBox<Report>, Report> event) voidonRunAction(ActionPerformedEvent event) voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetReportOutputDocument(ReportOutputDocument reportOutputDocument) voidsetReportParameters(Map<String, Object> reportParameters) voidsetTableData(byte[] tableData) Deprecated, for removal: This API element is subject to removal in a future version.voidsetTemplateCode(String templateCode) Methods inherited from class io.jmix.flowui.view.StandardViewinitContentMethods inherited from class io.jmix.flowui.view.ViewaddAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, onDetachInternal, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.CompositegetChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
- 
Field Details- 
parametersFrameHolder@ViewComponent protected com.vaadin.flow.component.orderedlayout.HorizontalLayout parametersFrameHolder
- 
reportForm
- 
tablesVBoxLayout
- 
parametersBox
- 
reportsDl
- 
uiComponents
- 
metadata
- 
metadataTools
- 
serialization
- 
viewValidation
- 
actions
- 
reportRunner
- 
dataComponents
- 
datatypeRegistry
- 
messages
- 
notifications
- 
templateCode
- 
reportParameters
- 
inputParametersFrame
- 
reportOutputDocument
- 
reportDeprecated, for removal: This API element is subject to removal in a future version.
- 
tableDataDeprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Constructor Details- 
ReportTableViewpublic ReportTableView()
 
- 
- 
Method Details- 
setReportDeprecated, for removal: This API element is subject to removal in a future version.
- 
setTemplateCode
- 
setReportParameters
- 
setTableDataDeprecated, for removal: This API element is subject to removal in a future version.
- 
setReportOutputDocument
- 
onReportEntityComboBoxComponentValueChange@Subscribe("reportEntityComboBox") public void onReportEntityComboBoxComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<EntityComboBox<Report>, Report> event) 
- 
onBeforeShow
- 
onRunAction
- 
findTableCode
- 
drawTablesDeprecated, for removal: This API element is subject to removal in a future version.
- 
drawTables
- 
createContainerprotected KeyValueCollectionContainer createContainer(String dataSetName, List<KeyValueEntity> keyValueEntities, Map<String, Set<JmixTableData.ColumnInfo>> headerMap) 
- 
createTableprotected DataGrid<KeyValueEntity> createTable(String dataSetName, KeyValueCollectionContainer container, Map<String, Set<JmixTableData.ColumnInfo>> headerMap) 
- 
createColumnsprotected void createColumns(KeyValueCollectionContainer collectionContainer, DataGrid<KeyValueEntity> table, Set<JmixTableData.ColumnInfo> headers) 
 
- 
reportOutputDocument