Class AttributeEnumerationScreen
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.dynattrui.screen.categoryattr.AttributeEnumerationScreen
- All Implemented Interfaces:
FrameOwner
@UiController("dynat_AttributeEnumerationScreen")
@UiDescriptor("attribute-enumeration-screen.xml")
@DialogMode(forceDialog=true)
public class AttributeEnumerationScreen
extends Screen
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected CoreProperties
protected String
protected String
protected Fragments
protected Icons
protected VBoxLayout
protected AttributeLocalizationFragment
protected List<AttributeLocalizedEnumValue>
protected CollectionContainer<AttributeLocalizedEnumValue>
protected CollectionLoader<AttributeLocalizedEnumValue>
protected Metadata
protected MsgBundleTools
protected UiComponents
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addEnumerationValue
(String value) protected AttributeLocalizedEnumValue
protected AttributeLocalizedEnumValue
getLocalizedEnumValue
(AttributeLocalizedEnumValue enumValue) protected void
protected void
protected LinkButton
localizedEnumValuesDataGridRemoveItemColumnGenerator
(DataGrid.ColumnGeneratorEvent<AttributeLocalizedEnumValue> event) protected List<AttributeLocalizedEnumValue>
protected void
onAfterShow
(Screen.AfterShowEvent event) protected void
protected void
protected void
protected void
onLocalizedEnumValuesDcItemChange
(InstanceContainer.ItemChangeEvent<AttributeLocalizedEnumValue> event) protected void
void
setEnumeration
(String enumeration) void
setEnumerationLocales
(String enumerationLocales) protected boolean
valueExists
(String value) Methods inherited from class io.jmix.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
fragments
-
coreProperties
-
metadata
-
msgBundleTools
-
uiComponents
-
icons
-
localizationBox
-
valueField
-
localizedEnumValuesDl
-
localizedEnumValuesDc
-
enumeration
-
enumerationLocales
-
localizationFragment
-
localizedEnumValues
-
-
Constructor Details
-
AttributeEnumerationScreen
public AttributeEnumerationScreen()
-
-
Method Details
-
setEnumeration
-
setEnumerationLocales
-
getEnumeration
-
getEnumerationLocales
-
onAfterShow
-
localizedEnumValuesDlLoadDelegate
@Install(to="localizedEnumValuesDl", target=DATA_LOADER) protected List<AttributeLocalizedEnumValue> localizedEnumValuesDlLoadDelegate(LoadContext<AttributeLocalizedEnumValue> loadContext) -
onValueFieldEnterPress
@Subscribe("valueField") protected void onValueFieldEnterPress(TextInputField.EnterPressEvent event) -
onLocalizedEnumValuesDataGridAdd
@Subscribe("localizedEnumValuesDataGrid.add") protected void onLocalizedEnumValuesDataGridAdd(Action.ActionPerformedEvent event) -
addEnumerationValue
-
localizedEnumValuesDataGridRemoveItemColumnGenerator
@Install(to="localizedEnumValuesDataGrid.removeItem", subject="columnGenerator") protected LinkButton localizedEnumValuesDataGridRemoveItemColumnGenerator(DataGrid.ColumnGeneratorEvent<AttributeLocalizedEnumValue> event) -
onLocalizedEnumValuesDcItemChange
@Subscribe(id="localizedEnumValuesDc", target=DATA_CONTAINER) protected void onLocalizedEnumValuesDcItemChange(InstanceContainer.ItemChangeEvent<AttributeLocalizedEnumValue> event) -
onCommitBtnClick
-
onCancelBtnClick
-
initLocalizedEnumValuesDataGrid
protected void initLocalizedEnumValuesDataGrid() -
initLocalizationFragment
protected void initLocalizationFragment() -
createAttributeLocalizedEnumValue
-
valueExists
-
getLocalizedEnumValue
-