Class SaveStepFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.reportsui.screen.report.wizard.step.StepFragment
io.jmix.reportsui.screen.report.wizard.step.SaveStepFragment
- All Implemented Interfaces:
FrameOwner
@UiController("report_SaveStep.fragment")
@UiDescriptor("save-step-fragment.xml")
public class SaveStepFragment
extends StepFragment
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.ScreenFragment
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected VBoxLayoutprotected CorePropertiesprotected Dialogsprotected Downloaderprotected Buttonprotected Fragmentsprotected Notificationsprotected ComboBox<ReportOutputType>protected OutputFormatToolsprotected RandomChartDataGeneratorprotected ReportsWizardprotected UiPropertiesFields inherited from class io.jmix.reportsui.screen.report.wizard.step.StepFragment
messageBundle, messages, messageTools, metadata, validateBeforeNext, validateBeforePrevFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEntry point for adding functionality before showing the fragmentprotected StringgenerateOutputFileName(String fileExtension) generateTemplateFileName(String fileExtension) Sets the caption for the wizard screenSets the description for the wizard screenprotected voidvoidvoidvoidprotected voidoutputFileNameContextHelpIconClickHandler(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) protected voidprotected voidvoidMethods inherited from class io.jmix.reportsui.screen.report.wizard.step.StepFragment
afterShow, beforeHide, getDefaultRequiredMessage, initFragment, isValidateBeforeNext, isValidateBeforePrev, validateFragmentMethods inherited from class io.jmix.ui.screen.ScreenFragment
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
-
Field Details
-
uiProperties
-
coreProperties
-
notifications
-
dialogs
-
fragments
-
downloader
-
reportWizardService
-
outputFileFormat
-
outputFileName
-
downloadTemplateFile
-
outputFormatTools
-
chartPreviewBox
-
diagramType
-
randomChartDataGenerator
-
-
Constructor Details
-
SaveStepFragment
public SaveStepFragment()
-
-
Method Details
-
onOutputFileNameValueChange
@Subscribe("outputFileName") public void onOutputFileNameValueChange(HasValue.ValueChangeEvent<String> event) -
outputFileNameContextHelpIconClickHandler
@Install(to="outputFileName", subject="contextHelpIconClickHandler") protected void outputFileNameContextHelpIconClickHandler(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) -
updateCorrectReportOutputType
protected void updateCorrectReportOutputType() -
onReportDataDcItemPropertyChange
@Subscribe(id="reportDataDc", target=DATA_CONTAINER) public void onReportDataDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<ReportData> event) -
getCaption
Description copied from class:StepFragmentSets the caption for the wizard screen- Specified by:
getCaptionin classStepFragment- Returns:
- caption
-
getDescription
Description copied from class:StepFragmentSets the description for the wizard screen- Specified by:
getDescriptionin classStepFragment- Returns:
- description
-
generateOutputFileName
-
beforeShow
public void beforeShow()Description copied from class:StepFragmentEntry point for adding functionality before showing the fragment- Overrides:
beforeShowin classStepFragment
-
initChartPreview
protected void initChartPreview() -
updateDownloadTemplateFile
public void updateDownloadTemplateFile() -
generateTemplateFileName
-
onDownloadTemplateFileClick
-
showChart
protected void showChart()
-