Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected FragmentHelper |
fragmentHelper |
protected io.micrometer.core.instrument.MeterRegistry |
meterRegistry |
protected ScreenXmlLoader |
screenXmlLoader |
protected AppUI |
ui |
protected UiComponents |
uiComponents |
protected WindowConfig |
windowConfig |
Constructor and Description |
---|
FragmentsImpl() |
Modifier and Type | Method and Description |
---|---|
<T extends ScreenFragment> |
create(FrameOwner parent,
java.lang.Class<T> requiredFragmentClass,
ScreenOptions options)
Creates a screen fragment by its controller class.
|
ScreenFragment |
create(FrameOwner parent,
java.lang.String screenFragmentId,
ScreenOptions options)
Creates a screen fragment by its id.
|
protected ComponentLoaderContext |
createComponentLoaderContext(ScreenOptions options) |
protected <T extends ScreenFragment> |
createFragment(FrameOwner parent,
WindowInfo windowInfo,
ScreenOptions options) |
protected Fragment |
createFragmentInternal() |
protected <T extends ScreenFragment> |
getFragmentInfo(java.lang.Class<T> fragmentClass) |
void |
init(ScreenFragment controller)
Perform fragment initialization.
|
protected void |
loadAdditionalData(org.dom4j.Element rootElement,
ComponentLoaderContext innerContext) |
void |
setAppUi(AppUI ui) |
@Autowired protected ScreenXmlLoader screenXmlLoader
@Autowired protected WindowConfig windowConfig
@Autowired protected org.springframework.context.ApplicationContext applicationContext
@Autowired protected UiComponents uiComponents
@Autowired protected io.micrometer.core.instrument.MeterRegistry meterRegistry
@Autowired protected FragmentHelper fragmentHelper
protected AppUI ui
@Autowired public void setAppUi(AppUI ui)
public <T extends ScreenFragment> T create(FrameOwner parent, java.lang.Class<T> requiredFragmentClass, ScreenOptions options)
Fragments
public ScreenFragment create(FrameOwner parent, java.lang.String screenFragmentId, ScreenOptions options)
Fragments
protected <T extends ScreenFragment> WindowInfo getFragmentInfo(java.lang.Class<T> fragmentClass)
protected <T extends ScreenFragment> T createFragment(FrameOwner parent, WindowInfo windowInfo, ScreenOptions options)
protected void loadAdditionalData(org.dom4j.Element rootElement, ComponentLoaderContext innerContext)
protected Fragment createFragmentInternal()
public void init(ScreenFragment controller)
Fragments
protected ComponentLoaderContext createComponentLoaderContext(ScreenOptions options)