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
Modifier and TypeFieldDescriptionprotected VBoxLayout
protected CoreProperties
protected Dialogs
protected Downloader
protected Button
protected Fragments
protected Notifications
protected ComboBox<ReportOutputType>
protected OutputFormatTools
protected RandomChartDataGenerator
protected ReportsWizard
protected UiProperties
Fields inherited from class io.jmix.reportsui.screen.report.wizard.step.StepFragment
messageBundle, messages, messageTools, metadata, validateBeforeNext, validateBeforePrev
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 TypeMethodDescriptionvoid
Entry point for adding functionality before showing the fragmentprotected String
generateOutputFileName
(String fileExtension) generateTemplateFileName
(String fileExtension) Sets the caption for the wizard screenSets the description for the wizard screenprotected void
void
void
void
protected void
outputFileNameContextHelpIconClickHandler
(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) protected void
protected void
void
Methods inherited from class io.jmix.reportsui.screen.report.wizard.step.StepFragment
afterShow, beforeHide, getDefaultRequiredMessage, initFragment, isValidateBeforeNext, isValidateBeforePrev, validateFragment
Methods 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:StepFragment
Sets the caption for the wizard screen- Specified by:
getCaption
in classStepFragment
- Returns:
- caption
-
getDescription
Description copied from class:StepFragment
Sets the description for the wizard screen- Specified by:
getDescription
in classStepFragment
- Returns:
- description
-
generateOutputFileName
-
beforeShow
public void beforeShow()Description copied from class:StepFragment
Entry point for adding functionality before showing the fragment- Overrides:
beforeShow
in classStepFragment
-
initChartPreview
protected void initChartPreview() -
updateDownloadTemplateFile
public void updateDownloadTemplateFile() -
generateTemplateFileName
-
onDownloadTemplateFileClick
-
showChart
protected void showChart()
-