Package io.jmix.ui.sys
Class FragmentsImpl
java.lang.Object
io.jmix.ui.sys.FragmentsImpl
- All Implemented Interfaces:
Fragments
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected FragmentHelper
protected io.micrometer.core.instrument.MeterRegistry
protected ScreenXmlLoader
protected AppUI
protected UiComponents
protected WindowConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ScreenFragment>
Tcreate
(FrameOwner parent, Class<T> requiredFragmentClass, ScreenOptions options) Creates a screen fragment by its controller class.create
(FrameOwner parent, String screenFragmentId, ScreenOptions options) Creates a screen fragment by its id.protected ComponentLoaderContext
protected <T extends ScreenFragment>
TcreateFragment
(FrameOwner parent, WindowInfo windowInfo, ScreenOptions options) protected Fragment
protected <T extends ScreenFragment>
WindowInfogetFragmentInfo
(Class<T> fragmentClass) void
init
(ScreenFragment controller) Perform fragment initialization.protected void
loadAdditionalData
(org.dom4j.Element rootElement, ComponentLoaderContext innerContext) void
-
Field Details
-
screenXmlLoader
-
windowConfig
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext -
uiComponents
-
meterRegistry
@Autowired protected io.micrometer.core.instrument.MeterRegistry meterRegistry -
fragmentHelper
-
ui
-
-
Constructor Details
-
FragmentsImpl
public FragmentsImpl()
-
-
Method Details
-
setAppUi
-
create
public <T extends ScreenFragment> T create(FrameOwner parent, Class<T> requiredFragmentClass, ScreenOptions options) Description copied from interface:Fragments
Creates a screen fragment by its controller class. -
create
Description copied from interface:Fragments
Creates a screen fragment by its id. -
getFragmentInfo
-
createFragment
protected <T extends ScreenFragment> T createFragment(FrameOwner parent, WindowInfo windowInfo, ScreenOptions options) -
loadAdditionalData
protected void loadAdditionalData(org.dom4j.Element rootElement, ComponentLoaderContext innerContext) -
createFragmentInternal
-
init
Description copied from interface:Fragments
Perform fragment initialization. Clients must always perform init. -
createComponentLoaderContext
-