Modifier and Type | Field and Description |
---|---|
protected BeanLocator |
beanLocator |
protected ScreenXmlLoader |
screenXmlLoader |
protected AppUI |
ui |
protected UiComponents |
uiComponents |
protected UserSessionSource |
userSessionSource |
protected WindowConfig |
windowConfig |
Constructor and Description |
---|
WebFragments(AppUI ui) |
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 <T extends ScreenFragment> |
createController(WindowInfo windowInfo,
Fragment fragment,
java.lang.Class<T> screenClass) |
protected <T extends ScreenFragment> |
createFragment(FrameOwner parent,
WindowInfo windowInfo,
ScreenOptions options) |
protected <T extends ScreenFragment> |
getFragmentInfo(java.lang.Class<T> fragmentClass) |
protected java.util.Locale |
getLocale() |
protected java.lang.String |
getMessagePack(java.lang.String descriptorPath) |
void |
init(ScreenFragment controller)
Perform fragment initialization.
|
protected void |
resumeDsContextAfterShow(LegacyFrame controller) |
@Inject protected ScreenXmlLoader screenXmlLoader
@Inject protected WindowConfig windowConfig
@Inject protected BeanLocator beanLocator
@Inject protected UiComponents uiComponents
@Inject protected UserSessionSource userSessionSource
protected AppUI ui
public WebFragments(AppUI ui)
public <T extends ScreenFragment> T create(FrameOwner parent, java.lang.Class<T> requiredFragmentClass, ScreenOptions options)
Fragments
protected <T extends ScreenFragment> WindowInfo getFragmentInfo(java.lang.Class<T> fragmentClass)
public ScreenFragment create(FrameOwner parent, java.lang.String screenFragmentId, ScreenOptions options)
Fragments
protected <T extends ScreenFragment> T createFragment(FrameOwner parent, WindowInfo windowInfo, ScreenOptions options)
public void init(ScreenFragment controller)
Fragments
protected void resumeDsContextAfterShow(LegacyFrame controller)
protected java.lang.String getMessagePack(java.lang.String descriptorPath)
protected java.util.Locale getLocale()
protected <T extends ScreenFragment> T createController(WindowInfo windowInfo, Fragment fragment, java.lang.Class<T> screenClass)