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 Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailView
StandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.SetupLockEvent, StandardDetailView.ValidationEvent
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected TypedTextField<String>
protected JmixComboBox<String>
protected static final String
protected JmixComboBox<String>
protected CollectionContainer<FormFieldEnumValueModel>
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected List<FormFieldModel>
protected List<ProcessVariableModel>
protected InstanceContainer<FormFieldModel>
protected JmixComboBox<String>
protected JmixComboBox<String>
protected MessageBundle
protected MessageTools
protected Metadata
protected MetadataTools
protected ModelerPropsPanelUiHelper
protected Notifications
protected JmixComboBox<String>
protected CollectionContainer<FormFieldPropertyModel>
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected com.vaadin.flow.component.textfield.TextArea
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected JmixComboBox<String>
protected ViewRegistry
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendUnknownValues
(JmixComboBox<String> target, String value) protected com.vaadin.flow.component.HasValue.ValueChangeListener
createFieldPropertyValueChangeListener
(String formFieldPropertyName) protected FormFieldEnumValueModel
createFormFieldEnumValueModel
(ProcessVariableEnumValueModel variableEnumValue) protected FormFieldPropertyModel
createFormFieldPropertyModel
(ProcessVariablePropertyModel variableProperty) protected void
protected void
protected void
protected void
initFieldsVisibility
(FormFieldModel formField) protected void
protected void
protected void
protected void
protected boolean
isEntityType
(String typeToCheck) protected void
protected void
onBeforeShow
(View.BeforeShowEvent event) protected void
protected void
protected void
onInit
(View.InitEvent event) void
onProcessVariableLookupComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) void
onProcessVariableLookupCustomValueSet
(com.vaadin.flow.component.combobox.ComboBoxBase.CustomValueSetEvent<com.vaadin.flow.component.combobox.ComboBox<String>> event) protected void
setDefaultFieldPropertiesValues
(FormFieldModel formField) void
setExistingFormFields
(List<FormFieldModel> existingFormFields) void
setExistingProcessVariables
(List<ProcessVariableModel> existingProcessVariables) protected void
updateFieldsAfterModelChange
(FormFieldModel formField) Methods inherited from class io.jmix.flowui.view.StandardDetailView
addAfterSaveListener, 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, validateView
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods 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, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigation
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods 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, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods 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
-
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
-