Class AttributeEnumerationDetailView
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.dynattrflowui.view.categoryattr.AttributeEnumerationDetailView
- 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,- Serializable
@ViewController("dynat_AttributeEnumerationDetailView")
@ViewDescriptor("attribute-enumeration-detail-view.xml")
@DialogMode(width="55em",
            height="45em",
            resizable=true)
public class AttributeEnumerationDetailView
extends StandardView
- See Also:
- 
Nested Class SummaryNested 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 AccessManagerprotected CorePropertiesprotected DataComponentsprotected Stringprotected Stringprotected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected AttributeLocalizationComponentprotected List<AttributeLocalizedEnumValue>protected DataGrid<AttributeLocalizedEnumValue>protected CollectionContainer<AttributeLocalizedEnumValue>protected CollectionLoader<AttributeLocalizedEnumValue>protected Messagesprotected MessageToolsprotected Metadataprotected MsgBundleToolsstatic final Stringprotected UiComponentsprotected TypedTextField<String>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddEnumerationValue(String value) protected AttributeLocalizedEnumValueprotected JmixButtonprotected com.vaadin.flow.data.renderer.ComponentRenderer<JmixButton,AttributeLocalizedEnumValue> protected AttributeLocalizedEnumValuegetLocalizedEnumValue(AttributeLocalizedEnumValue enumValue) protected voidgradeRemoveItemColumnUpdater(JmixButton button, AttributeLocalizedEnumValue customer) protected voidprotected voidprotected List<AttributeLocalizedEnumValue>protected voidonBeforeShow(View.BeforeShowEvent event) protected voidonCancelBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonCommitBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidprotected voidprotected voidonLocalizedEnumValuesDcItemChange(InstanceContainer.ItemChangeEvent<AttributeLocalizedEnumValue> event) protected voidonValueFieldEnterPress(com.vaadin.flow.component.HasValue.ValueChangeEvent<String> event) voidsetEnumeration(String enumeration) voidsetEnumerationLocales(String enumerationLocales) protected booleanvalueExists(String value) Methods inherited from class io.jmix.flowui.view.StandardViewinitContentMethods inherited from class io.jmix.flowui.view.ViewaddAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, onDetachInternal, 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- 
REMOVE_ITEM_COLUMN- See Also:
 
- 
coreProperties
- 
metadata
- 
msgBundleTools
- 
uiComponents
- 
accessManager
- 
messages
- 
dataComponents
- 
messageTools
- 
localizationBox
- 
valueField
- 
localizedEnumValuesDl
- 
localizedEnumValuesDc
- 
localizedEnumValuesDataGrid
- 
enumeration
- 
enumerationLocales
- 
localizationFragment
- 
localizedEnumValues
 
- 
- 
Constructor Details- 
AttributeEnumerationDetailViewpublic AttributeEnumerationDetailView()
 
- 
- 
Method Details- 
setEnumeration
- 
setEnumerationLocales
- 
getEnumeration
- 
getEnumerationLocales
- 
onInit
- 
onBeforeShow
- 
localizedEnumValuesDlLoadDelegate@Install(to="localizedEnumValuesDl", target=DATA_LOADER) protected List<AttributeLocalizedEnumValue> localizedEnumValuesDlLoadDelegate(LoadContext<AttributeLocalizedEnumValue> loadContext) 
- 
onValueFieldEnterPress@Subscribe("valueField") protected void onValueFieldEnterPress(com.vaadin.flow.component.HasValue.ValueChangeEvent<String> event) 
- 
onLocalizedEnumValuesDataGridAdd@Subscribe("localizedEnumValuesDataGrid.add") protected void onLocalizedEnumValuesDataGridAdd(ActionPerformedEvent event) 
- 
addEnumerationValue
- 
createRemoveItemColumnRendererprotected com.vaadin.flow.data.renderer.ComponentRenderer<JmixButton,AttributeLocalizedEnumValue> createRemoveItemColumnRenderer()
- 
createRemoveItemColumnComponent
- 
gradeRemoveItemColumnUpdaterprotected void gradeRemoveItemColumnUpdater(JmixButton button, AttributeLocalizedEnumValue customer) 
- 
onLocalizedEnumValuesDcItemChange@Subscribe(id="localizedEnumValuesDc", target=DATA_CONTAINER) protected void onLocalizedEnumValuesDcItemChange(InstanceContainer.ItemChangeEvent<AttributeLocalizedEnumValue> event) 
- 
onCommitBtnClick@Subscribe("commitBtn") protected void onCommitBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) 
- 
onCancelBtnClick@Subscribe("cancelBtn") protected void onCancelBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) 
- 
initLocalizedEnumValuesDataGridprotected void initLocalizedEnumValuesDataGrid()
- 
initLocalizationFragmentprotected void initLocalizationFragment()
- 
createAttributeLocalizedEnumValue
- 
valueExists
- 
getLocalizedEnumValue
 
-