Class DetailsStepFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.reportsui.screen.report.wizard.step.StepFragment
io.jmix.reportsui.screen.report.wizard.step.DetailsStepFragment
- All Implemented Interfaces:
FrameOwner
@UiController("report_DetailsStep.fragment")
@UiDescriptor("details-step-fragment.xml")
public class DetailsStepFragment
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 Dialogs
protected ExtendedEntities
protected MetadataTools
protected boolean
protected Notifications
protected ReportsWizard
protected RadioButtonGroup<ReportTypeGenerate>
protected ComboBox<TemplateFileType>
protected WindowConfig
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 TypeMethodDescriptionprotected void
protected Map<String,
TemplateFileType> Sets the caption for the wizard screenSets the description for the wizard screenprotected Map<String,
ReportTypeGenerate> protected void
protected void
protected void
boolean
void
void
void
onInit
(ScreenFragment.InitEvent event) void
void
setNeedUpdateEntityModel
(boolean needUpdateEntityModel) protected void
setReportName
(ReportData reportData, MetaClass prevValue, MetaClass value) protected void
updateReportEntity
(MetaClass prevValue, MetaClass value, ReportData reportData) protected void
updateReportGroup
(ReportData reportData, ReportGroup group) protected void
updateReportTypeGenerate
(ReportData reportData, ReportTypeGenerate reportTypeGenerate) Methods inherited from class io.jmix.reportsui.screen.report.wizard.step.StepFragment
afterShow, beforeHide, beforeShow, 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
-
dialogs
-
entityField
-
templateFileTypeField
-
extendedEntities
-
reportTypeGenerateField
-
metadataTools
-
reportsWizard
-
notifications
-
windowConfig
-
needUpdateEntityModel
protected boolean needUpdateEntityModel
-
-
Constructor Details
-
DetailsStepFragment
public DetailsStepFragment()
-
-
Method Details
-
isNeedUpdateEntityModel
public boolean isNeedUpdateEntityModel() -
setNeedUpdateEntityModel
public void setNeedUpdateEntityModel(boolean needUpdateEntityModel) -
onInit
-
initEntityLookupField
protected void initEntityLookupField() -
onReportTypeGenerateValueChange
@Subscribe("reportTypeGenerateField") public void onReportTypeGenerateValueChange(HasValue.ValueChangeEvent<ReportTypeGenerate> event) -
updateReportTypeGenerate
protected void updateReportTypeGenerate(ReportData reportData, @Nullable ReportTypeGenerate reportTypeGenerate) -
onEntityValueChange
@Subscribe("entityField") public void onEntityValueChange(HasValue.ValueChangeEvent<MetaClass> event) -
updateReportEntity
protected void updateReportEntity(@Nullable MetaClass prevValue, MetaClass value, ReportData reportData) -
onGroupValueChange
@Subscribe("groupField") public void onGroupValueChange(HasValue.ValueChangeEvent<ReportGroup> event) -
updateReportGroup
-
setReportName
-
initTemplateFormatLookupField
protected void initTemplateFormatLookupField() -
initReportTypeOptionGroup
protected void initReportTypeOptionGroup() -
getListedReportOptionsMap
-
getAvailableTemplateFormats
-
getAvailableEntities
-
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
-
clearQuery
protected void clearQuery()
-