Class ReportParameterDetailView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
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,ChangeTracker,DetailView<ReportInputParameter>,ReadOnlyAwareView,Serializable
@Route(value="reports/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.QueryParametersChangeEvent, View.ReadyEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected Dialogsprotected JmixComboBox<String>protected 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.html.Divprotected ReportParamAliasValidatorprotected ReportScriptEditorprotected JmixComboBox<String>protected SecureOperationsprotected JmixTabSheetprotected com.vaadin.flow.component.html.Divprotected 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voidprotected voidenableControlsByTransformationType(boolean hasPredefinedTransformation) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected 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<com.vaadin.flow.component.icon.Icon> 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) voidonScreenFieldAttach(com.vaadin.flow.component.AttachEvent event) voidonTransformationScriptHelpBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voidvoidonValidationScriptHelpBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidvoidsetEntityToEdit(ReportInputParameter entity) Sets entity instance to the view.Methods inherited from class io.jmix.flowui.view.StandardDetailView
addAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, entityCanBeLoaded, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getPessimisticLockStatus, getRouteParamName, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, save, setCrossFieldValidationEnabled, setReadOnly, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEditMethods inherited from class io.jmix.flowui.view.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, setApplicationContext, setId, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacetsMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, 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, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
parameterTypeField
-
tabsheet
-
screenField
-
enumerationField
-
metaClassField
-
isLookupField
-
isDefaultDateIsCurrentField
-
wildcardsField
-
predefinedTransformationBox
-
localeField
-
lookupJoinCodeEditor
-
lookupWhereCodeEditor
-
defaultValueBox
-
isPredefinedTransformationField
-
transformationEditorBox
-
parameterDc
-
parameterClassResolver
-
metadataTools
-
messages
-
metadata
-
messageTools
-
viewRegistry
-
secureOperations
-
policyStore
-
dialogs
-
reportScriptEditor
-
jmixObjectToStringConverter
-
parameterComponentGenerationStrategy
-
reportParamAliasValidator
-
-
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
-
onScreenFieldAttach
@Subscribe("screenField") public void onScreenFieldAttach(com.vaadin.flow.component.AttachEvent event) -
initLocaleField
protected void initLocaleField() -
onLocaleFieldHelpIconClick
protected void onLocaleFieldHelpIconClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.icon.Icon> 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) -
onIsLookupFieldComponentValueChange
@Subscribe("isLookupField") public void onIsLookupFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.Checkbox, Boolean> event) -
initScreensLookup
protected void initScreensLookup() -
initEnumsLookup
protected void initEnumsLookup() -
initMetaClassLookup
protected void initMetaClassLookup() -
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()
-