Class ReportParameterDetailView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<ViewLayout>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.flowui.view.StandardDetailView<ReportInputParameter>
io.jmix.reportsflowui.view.parameter.ReportParameterDetailView
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,com.vaadin.flow.router.AfterNavigationObserver,com.vaadin.flow.router.BeforeEnterObserver,com.vaadin.flow.router.BeforeLeaveObserver,com.vaadin.flow.router.HasDynamicTitle,com.vaadin.flow.router.internal.AfterNavigationHandler,com.vaadin.flow.router.internal.BeforeEnterHandler,com.vaadin.flow.router.internal.BeforeLeaveHandler,FacetOwner,FragmentOwner,ChangeTracker,DetailView<ReportInputParameter>,HasEditedEntity<ReportInputParameter>,ReadOnlyAwareView,ReadOnlyTracker,SupportEntityLock<ReportInputParameter>,Serializable
@RouteAlias(value="reports/parameters/:id",
layout=DefaultMainViewParent.class)
@Route(value="report/parameters/:id",
layout=DefaultMainViewParent.class)
@ViewController("report_ReportInputParameter.detail")
@ViewDescriptor("report-parameter-detail-view.xml")
@DialogMode(width="40em")
public class ReportParameterDetailView
extends StandardDetailView<ReportInputParameter>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailView
StandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.ValidationEventNested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.PostReadyEvent, View.QueryParametersChangeEvent, View.ReadyEvent, View.RestoreComponentsStateEventNested classes/interfaces inherited from interface io.jmix.flowui.view.ReadOnlyTracker
ReadOnlyTracker.ReadOnlyChangeEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TypedTextField<String> protected CorePropertiesprotected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected Dialogsprotected JmixComboBox<String> protected com.vaadin.flow.component.button.Buttonprotected com.vaadin.flow.component.button.Buttonprotected JmixCheckboxprotected JmixCheckboxprotected JmixCheckboxprotected JmixObjectToStringConverterprotected JmixTextAreaprotected CodeEditorprotected CodeEditorprotected Messagesprotected MessageToolsprotected JmixComboBox<String> protected Metadataprotected MetadataToolsprotected ParameterClassResolverprotected ParameterComponentGenerationStrategyprotected InstanceContainer<ReportInputParameter> protected JmixComboBox<ParameterType> protected PolicyStoreprotected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected ReportParamAliasValidatorprotected ReportScriptEditorprotected ReportsPropertiesprotected JmixComboBox<String> protected SecureOperationsprotected JmixTabSheetprotected com.vaadin.flow.component.html.Divprotected CodeEditorprotected CodeEditorprotected ViewRegistryprotected JmixComboBox<PredefinedTransformation> Fields inherited from class io.jmix.flowui.view.StandardDetailView
DEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME, reloadSaved -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voidprotected voidenableControlsByTransformationType(boolean hasPredefinedTransformation) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected booleanprotected booleanvoidvoidonBeforeShow(View.BeforeShowEvent event) voidonFullScreenTransformationBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voidonFullScreenValidationBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voidonInit(View.InitEvent event) voidonIsLookupFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.Checkbox, Boolean> event) voidonIsPredefinedTransformationFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.Checkbox, Boolean> event) protected voidonLocaleFieldHelpIconClick(com.vaadin.flow.component.ClickEvent<?> event) voidonLookupJoinFullScreenBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voidonLookupJoinHelpBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidvoidonLookupWhereFullScreenBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voidonLookupWhereHelpBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidvoidonParameterDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<ReportInputParameter> event) voidonParameterTypeFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<ParameterType>, ParameterType> event) voidonTransformationScriptHelpBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voidvoidvoidonValidationScriptHelpBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidvoidsetEntityToEdit(ReportInputParameter entity) Sets entity instance to the view.protected voidMethods inherited from class io.jmix.flowui.view.StandardDetailView
addAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addReadOnlyStateChangeListener, addValidationEventListener, beforeEnter, clearChanges, closeWithDiscard, closeWithSave, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getEditedEntityOrNull, getLockStatus, getRouteParamName, getSaveNotificationText, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isReloadEdited, isReloadSaved, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, onDetachInternal, preventUnsavedChanges, processBeforeEnterInternal, resolveEntityClass, save, setCrossFieldValidationEnabled, setReadOnly, setReloadEdited, setReloadSaved, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit, validateViewMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addApplicationListeners, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, configureDialogWindowFooter, configureDialogWindowHeader, getApplicationContext, getEventBus, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onAttachInternal, onDetach, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setPageTitle, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement, initContentMethods inherited from class com.vaadin.flow.component.Component
addListener, bindVisible, findAncestor, fireEvent, from, get, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setTestId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
parameterTypeField
-
tabsheet
-
screenField
-
enumerationField
-
metaClassField
-
isLookupField
-
isDefaultDateIsCurrentField
-
wildcardsField
-
predefinedTransformationBox
@ViewComponent protected com.vaadin.flow.component.orderedlayout.VerticalLayout predefinedTransformationBox -
localeField
-
lookupJoinCodeEditor
-
lookupWhereCodeEditor
-
defaultValueBox
-
isPredefinedTransformationField
-
transformationEditorBox
-
parameterDc
-
alias
-
transformationScript
-
validationScript
-
fullScreenTransformationBtn
-
fullScreenValidationBtn
-
parameterClassResolver
-
metadataTools
-
messages
-
metadata
-
messageTools
-
viewRegistry
-
secureOperations
-
policyStore
-
dialogs
-
reportScriptEditor
-
jmixObjectToStringConverter
-
parameterComponentGenerationStrategy
-
reportParamAliasValidator
-
coreProperties
-
reportsProperties
-
-
Constructor Details
-
ReportParameterDetailView
public ReportParameterDetailView()
-
-
Method Details
-
onInit
-
onBeforeShow
-
setEntityToEdit
Description copied from interface:DetailViewSets entity instance to the view.- Specified by:
setEntityToEditin interfaceDetailView<ReportInputParameter>- Overrides:
setEntityToEditin classStandardDetailView<ReportInputParameter>- Parameters:
entity- entity to edit
-
initLocaleField
protected void initLocaleField() -
onLocaleFieldHelpIconClick
protected void onLocaleFieldHelpIconClick(com.vaadin.flow.component.ClickEvent<?> event) -
onFullScreenTransformationBtnClick
@Subscribe("fullScreenTransformationBtn") public void onFullScreenTransformationBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onTransformationScriptHelpIconClick
public void onTransformationScriptHelpIconClick() -
onTransformationScriptHelpBtnClick
@Subscribe("transformationScriptHelpBtn") public void onTransformationScriptHelpBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onFullScreenValidationBtnClick
@Subscribe("fullScreenValidationBtn") public void onFullScreenValidationBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onValidationScriptHelpBtnClick
@Subscribe("validationScriptHelpBtn") public void onValidationScriptHelpBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onValidationScriptHelpIconClick
protected void onValidationScriptHelpIconClick() -
onLookupWhereFullScreenBtnClick
@Subscribe("lookupWhereFullScreenBtn") public void onLookupWhereFullScreenBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onLookupJoinFullScreenBtnClick
@Subscribe("lookupJoinFullScreenBtn") public void onLookupJoinFullScreenBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onLookupJoinHelpBtnClick
@Subscribe("lookupJoinHelpBtn") public void onLookupJoinHelpBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onLookupWhereHelpBtnClick
@Subscribe("lookupWhereHelpBtn") public void onLookupWhereHelpBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onLookupJoinHelpIconClick
protected void onLookupJoinHelpIconClick() -
onLookupWhereHelpIconClick
protected void onLookupWhereHelpIconClick() -
onParameterTypeFieldComponentValueChange
@Subscribe("parameterTypeField") public void onParameterTypeFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<ParameterType>, ParameterType> event) -
onParameterDcItemPropertyChange
@Subscribe(id="parameterDc", target=DATA_CONTAINER) public void onParameterDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<ReportInputParameter> event) -
isReportsGroovyEnabled
protected boolean isReportsGroovyEnabled() -
updateGroovyEditorsState
protected void updateGroovyEditorsState() -
onIsLookupFieldComponentValueChange
@Subscribe("isLookupField") public void onIsLookupFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.Checkbox, Boolean> event) -
initScreensLookup
-
initEnumsLookup
protected void initEnumsLookup() -
initMetaClassLookup
protected void initMetaClassLookup() -
initJoinCodeEditorLookupHelperText
protected void initJoinCodeEditorLookupHelperText() -
onValidation
-
onBeforeSave
-
initDefaultValueField
protected void initDefaultValueField() -
initCurrentDateTimeField
protected void initCurrentDateTimeField() -
canHaveDefaultValue
protected boolean canHaveDefaultValue() -
enableControlsByParamType
-
onIsPredefinedTransformationFieldComponentValueChange
@Subscribe("isPredefinedTransformationField") public void onIsPredefinedTransformationFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.Checkbox, Boolean> event) -
initTransformations
protected void initTransformations() -
enableControlsByTransformationType
protected void enableControlsByTransformationType(boolean hasPredefinedTransformation) -
isParameterDateOrTime
protected boolean isParameterDateOrTime()
-