@Component(value="ui_ScreenSettingsFacetResolver")
public class ScreenSettingsFacetResolver
extends java.lang.Object
ScreenSettingsFacet
and PresentationsFacet
.Modifier and Type | Class and Description |
---|---|
static interface |
ScreenSettingsFacetResolver.AfterShowEventHandler
Interface for
Screen.AfterShowEvent handler. |
static interface |
ScreenSettingsFacetResolver.PostAfterShowEventHandler
Interface for post
Screen.AfterShowEvent handler. |
Modifier and Type | Field and Description |
---|---|
protected PresentationsManager |
presentationsManager |
Constructor and Description |
---|
ScreenSettingsFacetResolver(PresentationsManager presentationsManager) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<Component> |
getManagedComponents(java.util.Collection<PresentationsFacet> facets,
java.util.Collection<Component> lazyTabComponents) |
void |
resolveAfterShowEvent(Screen.AfterShowEvent event)
Resolves applying settings and presentations on
Screen.AfterShowEvent . |
void |
resolveLazyTabSelectEvent(Window window,
Component source,
java.util.Collection<Component> components)
Resolves applying settings and presentations for components in a lazy tab e.g.
|
protected PresentationsManager presentationsManager
public ScreenSettingsFacetResolver(@Autowired(required=false) PresentationsManager presentationsManager)
public void resolveAfterShowEvent(Screen.AfterShowEvent event)
Screen.AfterShowEvent
.event
- after show eventpublic void resolveLazyTabSelectEvent(Window window, Component source, java.util.Collection<Component> components)
TabSheet
or
Accordion
.window
- screen windowsource
- component sourcecomponents
- tab contentprotected java.util.Collection<Component> getManagedComponents(java.util.Collection<PresentationsFacet> facets, java.util.Collection<Component> lazyTabComponents)