Class ShowReportTableScreen
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.reportsui.screen.report.run.ShowReportTableScreen
- All Implemented Interfaces:
FrameOwner
@UiController("report_ShowReportTable.screen")
@UiDescriptor("show-report-table-screen.xml")
public class ShowReportTableScreen
extends Screen
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected Actions
protected Fragments
protected InputParametersFragment
protected Metadata
protected MetadataTools
protected BoxLayout
protected Button
protected Report
protected EntityComboBox<Report>
protected GroupBoxLayout
protected ReportRunner
protected HBoxLayout
protected ScreenValidation
protected StandardSerialization
protected byte[]
protected VBoxLayout
protected String
protected UiComponents
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createColumns
(KeyValueCollectionContainer collectionContainer, Table table, Set<JmixTableData.ColumnInfo> headers) protected KeyValueCollectionContainer
createContainer
(String dataSetName, List<KeyValueEntity> keyValueEntities, Map<String, Set<JmixTableData.ColumnInfo>> headerMap) protected Table
createTable
(String dataSetName, KeyValueCollectionContainer collectionContainer, Map<String, Set<JmixTableData.ColumnInfo>> headerMap) protected void
drawTables
(JmixTableData dto) protected String
findTableCode
(Report report) protected void
protected void
protected void
printReport
(Button.ClickEvent button) void
void
setReportParameters
(Map<String, Object> reportParameters) void
setTableData
(byte[] tableData) void
setTemplateCode
(String templateCode) Methods inherited from class io.jmix.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
reportParamsBox
-
uiComponents
-
metadata
-
metadataTools
-
reportEntityComboBox
-
printReportBtn
-
parametersFrameHolder
-
reportSelectorBox
-
tablesVBoxLayout
-
serialization
-
fragments
-
screenValidation
-
actions
-
reportRunner
-
report
-
templateCode
-
reportParameters
-
inputParametersFrame
-
tableData
protected byte[] tableData
-
-
Constructor Details
-
ShowReportTableScreen
public ShowReportTableScreen()
-
-
Method Details
-
setReport
-
setTemplateCode
-
setReportParameters
-
setTableData
public void setTableData(byte[] tableData) -
onBeforeShow
-
onReportEntityComboBoxValueChange
@Subscribe("reportEntityComboBox") protected void onReportEntityComboBoxValueChange(HasValue.ValueChangeEvent<Report> event) -
printReport
-
findTableCode
-
drawTables
-
createContainer
protected KeyValueCollectionContainer createContainer(String dataSetName, List<KeyValueEntity> keyValueEntities, Map<String, Set<JmixTableData.ColumnInfo>> headerMap) -
createTable
protected Table createTable(String dataSetName, KeyValueCollectionContainer collectionContainer, Map<String, Set<JmixTableData.ColumnInfo>> headerMap) -
createColumns
protected void createColumns(KeyValueCollectionContainer collectionContainer, Table table, Set<JmixTableData.ColumnInfo> headers)
-