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
,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
Modifier and TypeFieldDescriptionprotected AccessManager
protected CoreProperties
protected DataComponents
protected String
protected String
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected AttributeLocalizationComponent
protected List<AttributeLocalizedEnumValue>
protected DataGrid<AttributeLocalizedEnumValue>
protected CollectionContainer<AttributeLocalizedEnumValue>
protected CollectionLoader<AttributeLocalizedEnumValue>
protected Messages
protected MessageTools
protected Metadata
protected MsgBundleTools
static final String
protected UiComponents
protected TypedTextField<String>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addEnumerationValue
(String value) protected AttributeLocalizedEnumValue
protected JmixButton
protected com.vaadin.flow.data.renderer.ComponentRenderer<JmixButton,
AttributeLocalizedEnumValue> protected AttributeLocalizedEnumValue
getLocalizedEnumValue
(AttributeLocalizedEnumValue enumValue) protected void
gradeRemoveItemColumnUpdater
(JmixButton button, AttributeLocalizedEnumValue customer) protected void
protected void
protected List<AttributeLocalizedEnumValue>
protected void
onBeforeShow
(View.BeforeShowEvent event) protected void
onCancelBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
onCommitBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
protected void
protected void
onLocalizedEnumValuesDcItemChange
(InstanceContainer.ItemChangeEvent<AttributeLocalizedEnumValue> event) protected void
onValueFieldEnterPress
(com.vaadin.flow.component.HasValue.ValueChangeEvent<String> event) void
setEnumeration
(String enumeration) void
setEnumerationLocales
(String enumerationLocales) protected boolean
valueExists
(String value) 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, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, setApplicationContext, setId, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets
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
-
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
-