Class EntityAttributeEdit
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<EntityAttributeModel>
io.jmix.bpmflowui.view.modeler.properties.entitydatatask.entityattribute.EntityAttributeEdit
- 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<EntityAttributeModel>,- ReadOnlyAwareView,- Serializable
@ViewController("bpm_EntityAttributeEdit")
@ViewDescriptor("entity-attribute-edit.xml")
public class EntityAttributeEdit
extends StandardDetailView<EntityAttributeModel>
- 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 com.vaadin.flow.component.AbstractSinglePropertyFieldprotected BeanMethodModelHelperprotected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected JmixComboBox<String>protected BpmnModelerprotected BpmPropertiesprotected InstanceContainer<EntityAttributeModel>protected Map<String,MetaProperty> protected com.vaadin.flow.component.formlayout.FormLayoutprotected MessageBundleprotected Messagesprotected Metadataprotected JmixComboBox<MethodInfo>protected JmixComboBox<String>protected UiComponentsprotected JmixComboBox<String>Fields 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 voidprotected voidclearAttributeValueFields(String attributeTypeValue) protected voidcreateDatatypeAttributeValueField(MetaProperty metaProperty) protected voidprotected voidcreateEnumAttributeValueField(MetaProperty metaProperty) protected voidcreateValueField(String attributeName) protected ObjectgetSelectedValue(EntityAttributeModel attribute, Enumeration<?> enumeration) protected Consumer<com.vaadin.flow.component.HasValue.ValueChangeEvent>getValueChangeEventConsumer(String springBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) protected voidprotected voidinitAttributeValueTypeLookupField(boolean includeDirectValue) protected voidprotected voidonBeanNameFieldValueChange(com.vaadin.flow.component.HasValue.ValueChangeEvent<String> event) protected voidonBeforeShow(View.BeforeShowEvent event) protected voidonInit(View.InitEvent event) protected voidonMethodNameFieldValueChange(com.vaadin.flow.component.HasValue.ValueChangeEvent<MethodInfo> event) voidonNameFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) voidonValueTypeLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) voidsetBpmnModeler(BpmnModeler bpmnModeler) voidsetEntityAttributes(Map<String, MetaProperty> entityAttributes) protected voidupdateSpringFields(String springBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) 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- 
messageBundle
- 
messages
- 
uiComponents
- 
metadata
- 
beanMethodModelHelper
- 
bpmProperties
- 
entityAttributeDc
- 
valueTypeLookup
- 
nameField
- 
beanNameField
- 
methodNameField
- 
fieldForm
- 
beanMethodParamsBox
- 
attributeValueFieldprotected com.vaadin.flow.component.AbstractSinglePropertyField attributeValueField
- 
entityAttributes
- 
bpmnModeler
 
- 
- 
Constructor Details- 
EntityAttributeEditpublic EntityAttributeEdit()
 
- 
- 
Method Details- 
setEntityAttributes
- 
onInit
- 
onBeforeShow
- 
onValueTypeLookupComponentValueChange@Subscribe("valueTypeLookup") public void onValueTypeLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) 
- 
onNameFieldComponentValueChange@Subscribe("nameField") public void onNameFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) 
- 
initAttributeValueTypeLookupFieldprotected void initAttributeValueTypeLookupField(boolean includeDirectValue) 
- 
addAttributeValueTypeLookupFieldChangeListenerprotected void addAttributeValueTypeLookupFieldChangeListener()
- 
initAttributeNameLookupFieldprotected void initAttributeNameLookupField()
- 
clearAttributeValueFields
- 
initSpringBeanFieldsprotected void initSpringBeanFields()
- 
onBeanNameFieldValueChange@Subscribe("beanNameField") protected void onBeanNameFieldValueChange(com.vaadin.flow.component.HasValue.ValueChangeEvent<String> event) 
- 
onMethodNameFieldValueChange@Subscribe("methodNameField") protected void onMethodNameFieldValueChange(com.vaadin.flow.component.HasValue.ValueChangeEvent<MethodInfo> event) 
- 
getValueChangeEventConsumerprotected Consumer<com.vaadin.flow.component.HasValue.ValueChangeEvent> getValueChangeEventConsumer(String springBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) 
- 
updateSpringFieldsprotected void updateSpringFields(String springBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) 
- 
createValueField
- 
createEnumAttributeValueField
- 
getSelectedValue@Nullable protected Object getSelectedValue(EntityAttributeModel attribute, Enumeration<?> enumeration) 
- 
createDatatypeAttributeValueField
- 
createDefaultStringValueFieldprotected void createDefaultStringValueField()
- 
setBpmnModeler
 
-