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
Modifier and TypeFieldDescriptionprotected CollectionPropertyContainer<CategoryAttribute>
protected GroupTable<CategoryAttribute>
protected CurrentAuthentication
protected DataManager
protected FetchPlanRepository
protected FormatStringsRegistry
protected Messages
protected MessageTools
protected Metadata
protected MetadataTools
protected Button
protected Button
protected ReferenceToEntitySupport
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
categoryAttrsTableCreateAfterCommitHandler
(CategoryAttribute categoryAttribute) protected String
categoryAttrsTableDataTypeValueProvider
(CategoryAttribute categoryAttribute) protected int
getMaxOrderNo
(CategoryAttribute categoryAttribute) protected CategoryAttribute
getNextAttribute
(Integer orderNo) protected CategoryAttribute
getPrevAttribute
(Integer orderNo) protected void
protected void
protected void
protected void
refreshMoveButtonsEnabled
(CategoryAttribute categoryAttribute) protected void
Methods 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
-