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 Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected Actions
protected DataComponents
protected DatatypeRegistry
protected InputParametersFragment
protected Messages
protected Metadata
protected MetadataTools
protected Notifications
protected com.vaadin.flow.component.html.Div
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout
protected Report
Deprecated, for removal: This API element is subject to removal in a future version.protected com.vaadin.flow.component.orderedlayout.HorizontalLayout
protected ReportOutputDocument
protected ReportRunner
protected CollectionLoader<Report>
protected StandardSerialization
protected byte[]
Deprecated, for removal: This API element is subject to removal in a future version.protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected String
protected UiComponents
protected ViewValidation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createColumns
(KeyValueCollectionContainer collectionContainer, DataGrid<KeyValueEntity> table, Set<JmixTableData.ColumnInfo> headers) protected KeyValueCollectionContainer
createContainer
(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 void
drawTables
(JmixTableData dto) Deprecated, for removal: This API element is subject to removal in a future version.protected void
drawTables
(ReportOutputDocument document) protected String
findTableCode
(Report report) protected void
onBeforeShow
(View.BeforeShowEvent event) void
onReportEntityComboBoxComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<EntityComboBox<Report>, Report> event) void
onRunAction
(ActionPerformedEvent event) void
Deprecated, for removal: This API element is subject to removal in a future version.void
setReportOutputDocument
(ReportOutputDocument reportOutputDocument) void
setReportParameters
(Map<String, Object> reportParameters) void
setTableData
(byte[] tableData) Deprecated, for removal: This API element is subject to removal in a future version.void
setTemplateCode
(String templateCode) Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, 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, unregisterBackNavigation
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, 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, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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.HasStyle
addClassName, 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
-
report
Deprecated, for removal: This API element is subject to removal in a future version. -
tableData
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
ReportTableView
public ReportTableView()
-
-
Method Details
-
setReport
Deprecated, for removal: This API element is subject to removal in a future version. -
setTemplateCode
-
setReportParameters
-
setTableData
Deprecated, 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
-
drawTables
Deprecated, for removal: This API element is subject to removal in a future version. -
drawTables
-
createContainer
protected KeyValueCollectionContainer createContainer(String dataSetName, List<KeyValueEntity> keyValueEntities, Map<String, Set<JmixTableData.ColumnInfo>> headerMap) -
createTable
protected DataGrid<KeyValueEntity> createTable(String dataSetName, KeyValueCollectionContainer container, Map<String, Set<JmixTableData.ColumnInfo>> headerMap) -
createColumns
protected void createColumns(KeyValueCollectionContainer collectionContainer, DataGrid<KeyValueEntity> table, Set<JmixTableData.ColumnInfo> headers)
-
reportOutputDocument