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="30em",
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.PostReadyEvent, View.QueryParametersChangeEvent, View.ReadyEvent, View.RestoreComponentsStateEvent
-
Field Summary
FieldsModifier 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
protected UiComponents
protected TypedTextField<String>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addEnumerationValue
(String value) protected AttributeLocalizedEnumValue
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout
protected JmixButton
protected com.vaadin.flow.component.Component
createEditorColumnRenderer
(AttributeLocalizedEnumValue currentItem) protected JmixButton
createEditorEditButton
(DataGridEditor<AttributeLocalizedEnumValue> editor, AttributeLocalizedEnumValue currentItem) protected JmixButton
createEditorRemoveButton
(AttributeLocalizedEnumValue currentItem) protected JmixButton
protected AttributeLocalizedEnumValue
getLocalizedEnumValue
(AttributeLocalizedEnumValue enumValue) protected void
gradeRemoveItemColumnUpdater
(JmixButton button, AttributeLocalizedEnumValue customer) protected void
protected void
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.data.renderer.Renderer<AttributeLocalizedEnumValue>
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
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, addApplicationListeners, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, configureDialogWindowFooter, configureDialogWindowHeader, getApplicationContext, getEventBus, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onAttachInternal, onDetach, onDetachInternal, processBeforeEnterInternal, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPageTitle, 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, 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
-
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
-
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
-
localizedEnumValuesDataGridEditorComponent
-
createEditorSaveButton
-
createEditorCancelButton
-
localizedEnumValuesDataGridEditorRenderer
@Supply(to="localizedEnumValuesDataGrid.bufferedEditorColumn", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<AttributeLocalizedEnumValue> localizedEnumValuesDataGridEditorRenderer() -
createEditorColumnRenderer
protected com.vaadin.flow.component.Component createEditorColumnRenderer(AttributeLocalizedEnumValue currentItem) -
createEditorEditButton
protected JmixButton createEditorEditButton(DataGridEditor<AttributeLocalizedEnumValue> editor, AttributeLocalizedEnumValue currentItem) -
createEditorRemoveButton
-
createEditorButtonsLayout
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout createEditorButtonsLayout() -
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
-