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,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 Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailView
StandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.SetupLockEvent, 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 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.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 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.StandardDetailView
addAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getLockStatus, getRouteParamName, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isReloadEdited, isReloadSaved, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setReloadEdited, setReloadSaved, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit, validateViewMethods 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, setMeterRegistry, 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
-
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
-
automaticCaptionUpdate
protected boolean automaticCaptionUpdate -
existingProcessVariables
-
processVariableLookupValues
-
existingFormFields
-
-
Constructor Details
-
FormFieldEdit
public FormFieldEdit()
-
-
Method Details
-
onInit
-
onBeforeShow
-
initAutomaticCaptionUpdate
protected void initAutomaticCaptionUpdate() -
onFormFieldDcItemPropertyChange
@Subscribe(id="formFieldDc", target=DATA_CONTAINER) protected void onFormFieldDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<FormFieldModel> event) -
createFormFieldPropertyModel
protected FormFieldPropertyModel createFormFieldPropertyModel(ProcessVariablePropertyModel variableProperty) -
createFormFieldEnumValueModel
protected FormFieldEnumValueModel createFormFieldEnumValueModel(ProcessVariableEnumValueModel variableEnumValue) -
updateFieldsAfterModelChange
-
setDefaultFieldPropertiesValues
-
initFieldsVisibility
-
isEntityType
-
initFormFieldTypeLookupField
protected void initFormFieldTypeLookupField() -
getFormFieldTypesOptionsMap
-
initEntityNameLookupField
protected void initEntityNameLookupField() -
initEnumClassLookupField
protected void initEnumClassLookupField() -
initUiComponentLookupField
protected void initUiComponentLookupField() -
initQueryTextField
protected void initQueryTextField() -
initLookupScreenLookupField
protected void initLookupScreenLookupField() -
createFieldPropertyValueChangeListener
protected 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
-