Class ReportEditGeneralFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.reportsui.screen.report.edit.tabs.ReportEditGeneralFragment
- All Implemented Interfaces:
FrameOwner
@UiController("report_ReportEditGeneral.fragment")
@UiDescriptor("report-edit-general-fragment.xml")
public class ReportEditGeneralFragment
extends ScreenFragment
-
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 CollectionContainer<BandDefinition>
protected BandDefinitionEditor
protected CollectionContainer<BandDefinition>
protected Tree<BandDefinition>
protected CoreProperties
protected DataContext
protected CollectionPropertyContainer<DataSet>
protected EntityComboBox<ReportTemplate>
protected Button
protected Downloader
protected EntityStates
protected FileUploadField
protected MessageBundle
protected Metadata
protected Notifications
protected PolicyStore
protected InstanceContainer<Report>
protected InstanceLoader<Report>
protected ScreenBuilders
protected Screens
protected SecureOperations
protected CollectionPropertyContainer<ReportTemplate>
protected UiProperties
protected Button
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 boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
isChildOrEqual
(BandDefinition definition, BandDefinition child) protected boolean
protected boolean
isTemplateWithoutFile
(ReportTemplate template) protected boolean
protected boolean
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
onDownClick
(Button.ClickEvent event) protected void
onInit
(ScreenFragment.InitEvent event) protected void
protected void
onUpClick
(Button.ClickEvent event) protected void
orderBandDefinitions
(BandDefinition parent) void
void
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
-
bandsTree
-
reportDl
-
reportDc
-
bandsDc
-
availableParentBandsDc
-
templatesDc
-
metadata
-
secureOperations
-
policyStore
-
dataSetsDc
-
entityStates
-
notifications
-
messageBundle
-
downloader
-
uiProperties
-
coreProperties
-
screens
-
screenBuilders
-
bandEditor
-
invisibleFileUpload
-
up
-
down
-
defaultTemplateField
-
dataContext
-
-
Constructor Details
-
ReportEditGeneralFragment
public ReportEditGeneralFragment()
-
-
Method Details
-
onInvisibleFileUploadFileUploadSucceed
@Subscribe("invisibleFileUpload") protected void onInvisibleFileUploadFileUploadSucceed(SingleFileUploadField.FileUploadSucceedEvent event) -
onBandsDcItemChange
@Subscribe(id="bandsDc", target=DATA_CONTAINER) protected void onBandsDcItemChange(InstanceContainer.ItemChangeEvent<BandDefinition> event) -
onBandsDcItemPropertyChange
@Subscribe(id="bandsDc", target=DATA_CONTAINER) protected void onBandsDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<BandDefinition> event) -
onInit
-
onDefaultTemplateFieldCreate
@Subscribe("defaultTemplateField.create") protected void onDefaultTemplateFieldCreate(Action.ActionPerformedEvent event) -
defaultTemplateFieldCreateEnabledRule
-
defaultTemplateFieldEditEnabledRule
-
onDefaultTemplateFieldEdit
@Subscribe("defaultTemplateField.edit") protected void onDefaultTemplateFieldEdit(Action.ActionPerformedEvent event) -
onDefaultTemplateUpload
@Subscribe("defaultTemplateField.upload") protected void onDefaultTemplateUpload(Action.ActionPerformedEvent event) -
defaultTemplateFieldUploadEnabledRule
-
onDefaultTemplateDownload
@Subscribe("defaultTemplateField.download") protected void onDefaultTemplateDownload(Action.ActionPerformedEvent event) -
bandsTreeUpActionEnabledRule
-
bandsTreeDownActionEnabledRule
-
sortBandDefinitionsByPosition
public void sortBandDefinitionsByPosition() -
onBandsTreeCreate
-
bandsTreeCreateEnabledRule
-
onBandsTreeRemove
-
bandsTreeRemoveEnabledRule
-
orderBandDefinitions
-
onUpClick
-
isUpButtonEnabled
protected boolean isUpButtonEnabled() -
onDownClick
-
isDownButtonEnabled
protected boolean isDownButtonEnabled() -
isUpdatePermitted
protected boolean isUpdatePermitted() -
isTemplateWithoutFile
-
isChildOrEqual
-
setupDropZoneForTemplate
public void setupDropZoneForTemplate()
-