Class BandDefinitionEditor
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.reportsui.screen.definition.edit.BandDefinitionEditor
- All Implemented Interfaces:
Suggester,FrameOwner
@UiController("report_BandDefinitionEditor.fragment")
@UiDescriptor("band-definition-edit-fragment.xml")
public class BandDefinitionEditor
extends ScreenFragment
implements Suggester
-
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 Actionsprotected CollectionContainer<BandDefinition>protected GridLayoutprotected DataContextprotected DataSetFactoryprotected BoxLayoutprotected SourceCodeEditorprotected SourceCodeEditor.Modeprotected CollectionContainer<DataSet>protected ComboBoxprotected Dialogsprotected EditFetchPlanActionprotected BoxLayoutprotected Buttonprotected FetchPlanRepositoryprotected CheckBoxprotected CheckBoxprotected JpqlUiSuggestionProviderprotected VBoxLayoutprotected SourceCodeEditorprotected VBoxLayoutprotected VBoxLayoutprotected ComboBox<JsonSourceType>protected VBoxLayoutprotected Messagesprotected Metadataprotected ComboBox<Orientation>protected CollectionContainer<ReportInputParameter>protected ComboBox<BandDefinition>protected PolicyStoreprotected InstanceContainer<Report>protected ReportsClientPropertiesprotected ReportsWizardprotected ScreenBuildersprotected SecureOperationsprotected Storesprotected CrossTabTableDecoratorprotected HBoxLayoutFields 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 TypeMethodDescriptionprotected voidapplyVisibilityRules(DataSet item) protected voidprotected voidapplyVisibilityRulesForType(DataSet dataSet) protected booleanprotected ReportInputParameterfindParameterByAlias(String alias) protected StringgetSuggestions(AutoCompleteSupport source, String text, int cursorPosition) protected voidprotected voidprotected voidprotected voidprotected voidinitJsonDataSetOptions(DataSet dataSet) protected voidprotected booleanisFetchPlanEditAllowed(DataSet dataSet) protected booleanprotected voidjsonGroovyCodeEditorContextHelpIconClickHandler(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) protected voidjsonPathQueryTextAreaFieldContextHelpIconClickHandler(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidonInit(ScreenFragment.InitEvent event) protected voidonParametersDcCollectionChange(CollectionContainer.CollectionChangeEvent<ReportInputParameter> event) protected voidrefreshFetchPlanNames(ReportInputParameter reportInputParameter) protected voidprotected voidsetCommonEntityGridVisibility(boolean visibleEntityGrid, boolean visibleEntitiesGrid) voidsetEnabled(boolean enabled) protected voidsetFetchPlanEditVisibility(DataSet dataSet) protected voidprotected voidprotected voidMethods 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
-
bandsDc
-
dataSetsDc
-
reportDc
-
parametersDc
-
dataSetsTable
-
dataSetScriptField
-
jsonGroovyCodeEditor
-
dataSetScriptBox
-
entitiesParamLabel
-
entityParamLabel
-
commonEntityGrid
-
jsonSourceTypeField
-
jsonDataSetTypeVBox
-
jsonPathQueryLabel
-
jsonSourceGroovyCodeVBox
-
jsonSourceURLVBox
-
jsonSourceParameterCodeVBox
-
textParamsBox
-
fetchPlanNameLabel
-
orientationField
-
parentBandField
-
nameField
-
fetchPlanNameField
-
entitiesParamField
-
entityParamField
-
dataStoreField
-
isProcessTemplateField
-
isUseExistingFetchPlanField
-
fetchPlanEditButton
-
buttonEmptyElement
-
checkboxEmptyElement
-
spacerLabel
-
metadata
-
reportWizardService
-
editPane
-
dataSetFactory
-
tabOrientationTableDecorator
-
fetchPlanRepository
-
secureOperations
-
policyStore
-
jsonPathQueryTextAreaField
-
jpqlUiSuggestionProvider
-
stores
-
reportsClientProperties
-
messages
-
dialogs
-
screenBuilders
-
actions
-
dataContext
-
dataSetScriptFieldMode
-
editFetchPlanAction
-
-
Constructor Details
-
BandDefinitionEditor
public BandDefinitionEditor()
-
-
Method Details
-
showJsonScriptEditorDialog
@Subscribe("jsonSourceGroovyCodeLinkBtn") protected void showJsonScriptEditorDialog(Button.ClickEvent event) -
getScriptEditorDialogCaption
-
showDataSetScriptEditorDialog
@Subscribe("dataSetTextLinkBtn") protected void showDataSetScriptEditorDialog(Button.ClickEvent event) -
getBandDefinitionDc
-
setEnabled
public void setEnabled(boolean enabled) -
getSuggestions
- Specified by:
getSuggestionsin interfaceSuggester
-
onInit
-
jsonGroovyCodeEditorContextHelpIconClickHandler
@Install(to="jsonGroovyCodeEditor", subject="contextHelpIconClickHandler") protected void jsonGroovyCodeEditorContextHelpIconClickHandler(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) -
jsonPathQueryTextAreaFieldContextHelpIconClickHandler
@Install(to="jsonPathQueryTextAreaField", subject="contextHelpIconClickHandler") protected void jsonPathQueryTextAreaFieldContextHelpIconClickHandler(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) -
initSourceCodeOptions
protected void initSourceCodeOptions() -
initJsonDataSetOptions
-
initDataStoreField
protected void initDataStoreField() -
onDataSetsCreate
@Subscribe("dataSetsTable.create") protected void onDataSetsCreate(Action.ActionPerformedEvent event) -
dataSetsCreateEnabledRule
-
initActions
protected void initActions() -
onParametersDcCollectionChange
@Subscribe(id="parametersDc", target=DATA_CONTAINER) protected void onParametersDcCollectionChange(CollectionContainer.CollectionChangeEvent<ReportInputParameter> event) -
onBandsDcItemPropertyChange
@Subscribe(id="bandsDc", target=DATA_CONTAINER) protected void onBandsDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<BandDefinition> event) -
onBandsDcItemChange
@Subscribe(id="bandsDc", target=DATA_CONTAINER) protected void onBandsDcItemChange(InstanceContainer.ItemChangeEvent<BandDefinition> event) -
onDataSetsDcItemChange
@Subscribe(id="dataSetsDc", target=DATA_CONTAINER) protected void onDataSetsDcItemChange(InstanceContainer.ItemChangeEvent<DataSet> event) -
onDataSetsDcItemPropertyChange
@Subscribe(id="dataSetsDc", target=DATA_CONTAINER) protected void onDataSetsDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<DataSet> event) -
initDataSetListeners
protected void initDataSetListeners() -
isUpdatePermitted
protected boolean isUpdatePermitted() -
updateRequiredIndicators
-
findParameterByAlias
-
refreshFetchPlanNames
-
applyVisibilityRules
-
applyVisibilityRulesForType
-
applyVisibilityRulesForEntityType
-
hideAllDataSetEditComponents
protected void hideAllDataSetEditComponents() -
selectFirstDataSet
protected void selectFirstDataSet() -
setFetchPlanEditVisibility
-
isFetchPlanEditAllowed
-
setCommonEntityGridVisibility
protected void setCommonEntityGridVisibility(boolean visibleEntityGrid, boolean visibleEntitiesGrid)
-