Class FormFieldEdit
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<FormFieldModel>
io.jmix.bpmflowui.view.modeler.properties.formfield.FormFieldEdit
- 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,- FragmentOwner,- ChangeTracker,- DetailView<FormFieldModel>,- ReadOnlyAwareView,- Serializable
@ViewController("bpm_FormField.edit")
@ViewDescriptor("form-field-edit.xml")
@DialogMode(height="AUTO",
            width="37.5em")
public class FormFieldEdit
extends StandardDetailView<FormFieldModel>
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailViewStandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.SetupLockEvent, StandardDetailView.ValidationEventNested classes/interfaces inherited from class io.jmix.flowui.view.ViewView.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected TypedTextField<String>protected JmixComboBox<String>protected static final Stringprotected JmixComboBox<String>protected CollectionContainer<FormFieldEnumValueModel>protected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected List<FormFieldModel>protected List<ProcessVariableModel>protected InstanceContainer<FormFieldModel>protected JmixComboBox<String>protected JmixComboBox<String>protected MessageBundleprotected MessageToolsprotected Metadataprotected MetadataToolsprotected ModelerPropsPanelUiHelperprotected Notificationsprotected JmixComboBox<String>protected CollectionContainer<FormFieldPropertyModel>protected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected com.vaadin.flow.component.textfield.TextAreaprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected JmixComboBox<String>protected ViewRegistryFields inherited from class io.jmix.flowui.view.StandardDetailViewDEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME, reloadSaved
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidappendUnknownValues(JmixComboBox<String> target, String value) protected com.vaadin.flow.component.HasValue.ValueChangeListenercreateFieldPropertyValueChangeListener(String formFieldPropertyName) protected FormFieldEnumValueModelcreateFormFieldEnumValueModel(ProcessVariableEnumValueModel variableEnumValue) protected FormFieldPropertyModelcreateFormFieldPropertyModel(ProcessVariablePropertyModel variableProperty) protected voidprotected voidprotected voidprotected voidinitFieldsVisibility(FormFieldModel formField) protected voidprotected voidprotected voidprotected voidprotected booleanisEntityType(String typeToCheck) protected voidprotected voidonBeforeShow(View.BeforeShowEvent event) protected voidprotected voidprotected voidonInit(View.InitEvent event) voidonProcessVariableLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) voidonProcessVariableLookupCustomValueSet(com.vaadin.flow.component.combobox.ComboBoxBase.CustomValueSetEvent<com.vaadin.flow.component.combobox.ComboBox<String>> event) protected voidsetDefaultFieldPropertiesValues(FormFieldModel formField) voidsetExistingFormFields(List<FormFieldModel> existingFormFields) voidsetExistingProcessVariables(List<ProcessVariableModel> existingProcessVariables) protected voidupdateFieldsAfterModelChange(FormFieldModel formField) Methods inherited from class io.jmix.flowui.view.StandardDetailViewaddAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getEditedEntityOrNull, getLockStatus, getRouteParamName, getSaveNotificationText, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isReloadEdited, isReloadSaved, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, onDetachInternal, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setReloadEdited, setReloadSaved, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit, validateViewMethods inherited from class io.jmix.flowui.view.StandardViewinitContentMethods inherited from class io.jmix.flowui.view.ViewaddAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.CompositegetChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.ComponentaddListener, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
- 
Field Details- 
TYPE_ENTITY- See Also:
 
- 
TYPE_ENTITY_LIST- See Also:
 
- 
PROPERTY_BUSINESS_ID- See Also:
 
- 
PROPERTY_TYPE- See Also:
 
- 
PROPERTY_ENTITY_NAME- See Also:
 
- 
PROPERTY_QUERY- See Also:
 
- 
PROPERTY_LOOKUP_SCREEN- See Also:
 
- 
UI_COMPONENT- See Also:
 
- 
ENUM_CLASS- See Also:
 
- 
UI_COMPONENT_COMBOBOX- See Also:
 
- 
UI_COMPONENT_ENTITY_PICKER- See Also:
 
- 
metadata
- 
viewRegistry
- 
messageTools
- 
messageBundle
- 
notifications
- 
modelerPropsPanelUiHelper
- 
metadataTools
- 
formFieldDc
- 
propertiesDc
- 
enumValuesDc
- 
formFieldTypeLookupField
- 
uiComponentLookupField
- 
entityNameLookupField
- 
enumClassLookupField
- 
processVariableLookup
- 
queryTextField
- 
lookupScreenLookupField
- 
enumValuesLayout
- 
captionField
- 
automaticCaptionUpdateprotected boolean automaticCaptionUpdate
- 
existingProcessVariables
- 
processVariableLookupValues
- 
existingFormFields
 
- 
- 
Constructor Details- 
FormFieldEditpublic FormFieldEdit()
 
- 
- 
Method Details- 
onInit
- 
onBeforeShow
- 
initAutomaticCaptionUpdateprotected void initAutomaticCaptionUpdate()
- 
onFormFieldDcItemPropertyChange@Subscribe(id="formFieldDc", target=DATA_CONTAINER) protected void onFormFieldDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<FormFieldModel> event) 
- 
createFormFieldPropertyModelprotected FormFieldPropertyModel createFormFieldPropertyModel(ProcessVariablePropertyModel variableProperty) 
- 
createFormFieldEnumValueModelprotected FormFieldEnumValueModel createFormFieldEnumValueModel(ProcessVariableEnumValueModel variableEnumValue) 
- 
updateFieldsAfterModelChange
- 
setDefaultFieldPropertiesValues
- 
initFieldsVisibility
- 
isEntityType
- 
initFormFieldTypeLookupFieldprotected void initFormFieldTypeLookupField()
- 
getFormFieldTypesOptionsMap
- 
initEntityNameLookupFieldprotected void initEntityNameLookupField()
- 
initEnumClassLookupFieldprotected void initEnumClassLookupField()
- 
initUiComponentLookupFieldprotected void initUiComponentLookupField()
- 
initQueryTextFieldprotected void initQueryTextField()
- 
initLookupScreenLookupFieldprotected void initLookupScreenLookupField()
- 
createFieldPropertyValueChangeListenerprotected com.vaadin.flow.component.HasValue.ValueChangeListener createFieldPropertyValueChangeListener(String formFieldPropertyName) 
- 
getUiComponentOptionsMap
- 
onEnumValuesTableAddActionPerformed@Subscribe("enumValuesTable.add") protected void onEnumValuesTableAddActionPerformed(ActionPerformedEvent event) 
- 
onBeforeClose
- 
setExistingProcessVariables
- 
setExistingFormFields
- 
onProcessVariableLookupCustomValueSet@Subscribe("processVariableLookup") public void onProcessVariableLookupCustomValueSet(com.vaadin.flow.component.combobox.ComboBoxBase.CustomValueSetEvent<com.vaadin.flow.component.combobox.ComboBox<String>> event) 
- 
onProcessVariableLookupComponentValueChange@Subscribe("processVariableLookup") public void onProcessVariableLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) 
- 
appendUnknownValues
 
-