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 Summary
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
FieldsModifier 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 Summary
Constructors -
Method Summary
Modifier 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.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, 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, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods 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
-
REMOVE_ITEM_COLUMN
- See Also:
-
coreProperties
-
metadata
-
msgBundleTools
-
uiComponents
-
accessManager
-
messages
-
dataComponents
-
messageTools
-
localizationBox
-
valueField
-
localizedEnumValuesDl
-
localizedEnumValuesDc
-
localizedEnumValuesDataGrid
-
enumeration
-
enumerationLocales
-
localizationFragment
-
localizedEnumValues
-
-
Constructor Details
-
AttributeEnumerationDetailView
public 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
-
createRemoveItemColumnRenderer
protected com.vaadin.flow.data.renderer.ComponentRenderer<JmixButton,AttributeLocalizedEnumValue> createRemoveItemColumnRenderer() -
createRemoveItemColumnComponent
-
gradeRemoveItemColumnUpdater
protected 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) -
initLocalizedEnumValuesDataGrid
protected void initLocalizedEnumValuesDataGrid() -
initLocalizationFragment
protected void initLocalizationFragment() -
createAttributeLocalizedEnumValue
-
valueExists
-
getLocalizedEnumValue
-