@UiController(value="report_SaveStep.fragment") @UiDescriptor(value="save-step-fragment.xml") public class SaveStepFragment extends StepFragment
Modifier and Type | Field and Description |
---|---|
protected io.jmix.ui.component.VBoxLayout |
chartPreviewBox |
protected io.jmix.core.CoreProperties |
coreProperties |
protected io.jmix.ui.component.ComboBox<ChartType> |
diagramType |
protected io.jmix.ui.Dialogs |
dialogs |
protected io.jmix.ui.download.Downloader |
downloader |
protected io.jmix.ui.component.Button |
downloadTemplateFile |
protected io.jmix.ui.Fragments |
fragments |
protected io.jmix.ui.Notifications |
notifications |
protected io.jmix.ui.component.ComboBox<ReportOutputType> |
outputFileFormat |
protected io.jmix.ui.component.TextField<java.lang.String> |
outputFileName |
protected OutputFormatTools |
outputFormatTools |
protected RandomChartDataGenerator |
randomChartDataGenerator |
protected ReportsWizard |
reportWizardService |
protected io.jmix.ui.UiProperties |
uiProperties |
messages, messageTools, metadata, validateBeforeNext, validateBeforePrev
Constructor and Description |
---|
SaveStepFragment() |
Modifier and Type | Method and Description |
---|---|
void |
beforeShow()
Entry point for adding functionality before showing the fragment
|
protected java.lang.String |
generateOutputFileName(java.lang.String fileExtension) |
java.lang.String |
generateTemplateFileName(java.lang.String fileExtension) |
java.lang.String |
getCaption()
Sets the caption for the wizard screen
|
java.lang.String |
getDescription()
Sets the description for the wizard screen
|
protected void |
initChartPreview() |
void |
onDownloadTemplateFileClick(io.jmix.ui.component.Button.ClickEvent event) |
void |
onOutputFileNameValueChange(io.jmix.ui.component.HasValue.ValueChangeEvent<java.lang.String> event) |
void |
onReportDataDcItemPropertyChange(io.jmix.ui.model.InstanceContainer.ItemPropertyChangeEvent<ReportData> event) |
protected void |
outputFileNameContextHelpIconClickHandler(io.jmix.ui.component.HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) |
protected void |
showChart() |
protected void |
updateCorrectReportOutputType() |
void |
updateDownloadTemplateFile() |
afterShow, beforeHide, getDefaultRequiredMessage, initFragment, isValidateBeforeNext, isValidateBeforePrev, validateFragment
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
@Autowired protected io.jmix.ui.UiProperties uiProperties
@Autowired protected io.jmix.core.CoreProperties coreProperties
@Autowired protected io.jmix.ui.Notifications notifications
@Autowired protected io.jmix.ui.Dialogs dialogs
@Autowired protected io.jmix.ui.Fragments fragments
@Autowired protected io.jmix.ui.download.Downloader downloader
@Autowired protected ReportsWizard reportWizardService
@Autowired protected io.jmix.ui.component.ComboBox<ReportOutputType> outputFileFormat
@Autowired protected io.jmix.ui.component.TextField<java.lang.String> outputFileName
@Autowired protected io.jmix.ui.component.Button downloadTemplateFile
@Autowired protected OutputFormatTools outputFormatTools
@Autowired protected io.jmix.ui.component.VBoxLayout chartPreviewBox
@Autowired protected io.jmix.ui.component.ComboBox<ChartType> diagramType
@Autowired protected RandomChartDataGenerator randomChartDataGenerator
@Subscribe(value="outputFileName") public void onOutputFileNameValueChange(io.jmix.ui.component.HasValue.ValueChangeEvent<java.lang.String> event)
@Install(to="outputFileName", subject="contextHelpIconClickHandler") protected void outputFileNameContextHelpIconClickHandler(io.jmix.ui.component.HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent)
protected void updateCorrectReportOutputType()
@Subscribe(id="reportDataDc", target=DATA_CONTAINER) public void onReportDataDcItemPropertyChange(io.jmix.ui.model.InstanceContainer.ItemPropertyChangeEvent<ReportData> event)
public java.lang.String getCaption()
StepFragment
getCaption
in class StepFragment
public java.lang.String getDescription()
StepFragment
getDescription
in class StepFragment
protected java.lang.String generateOutputFileName(java.lang.String fileExtension)
public void beforeShow()
StepFragment
beforeShow
in class StepFragment
protected void initChartPreview()
public void updateDownloadTemplateFile()
public java.lang.String generateTemplateFileName(java.lang.String fileExtension)
@Subscribe(value="downloadTemplateFile") public void onDownloadTemplateFileClick(io.jmix.ui.component.Button.ClickEvent event)
protected void showChart()