Modifier and Type | Field and Description |
---|---|
protected BeanLocator |
beanLocator |
protected FragmentHelper |
fragmentHelper |
protected ScreenXmlLoader |
screenXmlLoader |
protected AppUI |
ui |
protected UiComponents |
uiComponents |
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> |
createFragment(FrameOwner parent,
WindowInfo windowInfo,
ScreenOptions options) |
protected <T extends ScreenFragment> |
getFragmentInfo(java.lang.Class<T> fragmentClass) |
void |
init(ScreenFragment controller)
Perform fragment initialization.
|
@Inject protected ScreenXmlLoader screenXmlLoader
@Inject protected WindowConfig windowConfig
@Inject protected BeanLocator beanLocator
@Inject protected UiComponents uiComponents
@Inject protected FragmentHelper fragmentHelper
protected AppUI ui
public WebFragments(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)
public void init(ScreenFragment controller)
Fragments