Class EntityTreeFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.reportsui.screen.report.wizard.region.EntityTreeFragment
- All Implemented Interfaces:
FrameOwner
@UiController("report_EntityTree.fragment")
@UiDescriptor("entity-tree-fragment.xml")
public class EntityTreeFragment
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 boolean
protected DataManager
protected MessageBundle
protected Metadata
protected MetadataTools
protected Comparator<EntityTreeNode>
protected Notifications
protected boolean
protected CollectionContainer<EntityTreeNode>
protected CollectionLoader<EntityTreeNode>
protected EntityTreeNode
protected boolean
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
fill
(EntityTreeNode parentNode, String searchValue, List<EntityTreeNode> result) protected void
fill
(EntityTreeNode parentNode, List<EntityTreeNode> result) protected boolean
isSuitable
(String searchValue, EntityTreeNode child) protected boolean
isSuitableRecursively
(String searchValue, EntityTreeNode node) protected boolean
needToShowProperty
(EntityTreeNode childNode, EntityTreeNode parentNode) void
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
-
dataManager
-
rootEntity
-
collectionsOnly
protected boolean collectionsOnly -
scalarOnly
protected boolean scalarOnly -
persistentOnly
protected boolean persistentOnly -
reportPropertyName
-
metadata
-
metadataTools
-
reportEntityTreeNodeDc
-
reportEntityTreeNodeDl
-
messageBundle
-
notifications
-
nodeComparator
-
-
Constructor Details
-
EntityTreeFragment
public EntityTreeFragment()
-
-
Method Details
-
onBeforeShow
-
fill
-
needToShowProperty
-
isSuitable
-
isSuitableRecursively
-
fill
-
onReportPropertyNameSearchButtonClick
@Subscribe("reportPropertyNameSearchButton") public void onReportPropertyNameSearchButtonClick(Button.ClickEvent event)
-