Class CategoryAttrsFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.dynattrui.screen.categoryattr.CategoryAttrsFragment
- All Implemented Interfaces:
FrameOwner
@UiController("dynat_CategoryAttribute.fragment")
@UiDescriptor("category-attrs-fragment.xml")
public class CategoryAttrsFragment
extends ScreenFragment
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.ScreenFragment
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CollectionPropertyContainer<CategoryAttribute>protected GroupTable<CategoryAttribute>protected CurrentAuthenticationprotected DataManagerprotected FetchPlanRepositoryprotected FormatStringsRegistryprotected Messagesprotected MessageToolsprotected Metadataprotected MetadataToolsprotected Buttonprotected Buttonprotected ReferenceToEntitySupportprotected UiComponentsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcategoryAttrsTableCreateAfterCommitHandler(CategoryAttribute categoryAttribute) protected StringcategoryAttrsTableDataTypeValueProvider(CategoryAttribute categoryAttribute) protected intgetMaxOrderNo(CategoryAttribute categoryAttribute) protected CategoryAttributegetNextAttribute(Integer orderNo) protected CategoryAttributegetPrevAttribute(Integer orderNo) protected voidprotected voidprotected voidprotected voidrefreshMoveButtonsEnabled(CategoryAttribute categoryAttribute) protected voidMethods inherited from class io.jmix.ui.screen.ScreenFragment
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
-
Field Details
-
messages
-
currentAuthentication
-
metadata
-
metadataTools
-
dataManager
-
referenceToEntitySupport
-
fetchPlanRepository
-
uiComponents
-
messageTools
-
categoryAttributesDc
-
categoryAttrsTable
-
moveUpBtn
-
moveDownBtn
-
formatStringsRegistry
-
-
Constructor Details
-
CategoryAttrsFragment
public CategoryAttrsFragment()
-
-
Method Details
-
categoryAttrsTableDefaultValueColumnGenerator
-
categoryAttrsTableDataTypeValueProvider
@Install(to="categoryAttrsTable.dataType", subject="valueProvider") protected String categoryAttrsTableDataTypeValueProvider(CategoryAttribute categoryAttribute) -
categoryAttrsTableCreateAfterCommitHandler
@Install(to="categoryAttrsTable.create", subject="afterCommitHandler") protected void categoryAttrsTableCreateAfterCommitHandler(CategoryAttribute categoryAttribute) -
onCategoryAttrsTableSelection
@Subscribe("categoryAttrsTable") protected void onCategoryAttrsTableSelection(Table.SelectionEvent<CategoryAttribute> event) -
onCategoryAttrsTableMoveUp
@Subscribe("categoryAttrsTable.moveUp") protected void onCategoryAttrsTableMoveUp(Action.ActionPerformedEvent event) -
onCategoryAttrsTableMoveDown
@Subscribe("categoryAttrsTable.moveDown") protected void onCategoryAttrsTableMoveDown(Action.ActionPerformedEvent event) -
getMaxOrderNo
-
getPrevAttribute
-
getNextAttribute
-
sortCategoryAttrsTableByOrderNo
protected void sortCategoryAttrsTableByOrderNo() -
refreshMoveButtonsEnabled
-