Package io.jmix.ui.settings.facet
Class ScreenSettingsFacetResolver
java.lang.Object
io.jmix.ui.settings.facet.ScreenSettingsFacetResolver
@Component("ui_ScreenSettingsFacetResolver")
public class ScreenSettingsFacetResolver
extends Object
Class that manages the right order of working
ScreenSettingsFacet and PresentationsFacet.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInterface forScreen.AfterShowEventhandler.static interfaceInterface for postScreen.AfterShowEventhandler. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<Component>getManagedComponents(Collection<PresentationsFacet> facets, Collection<Component> lazyTabComponents) voidResolves applying settings and presentations onScreen.AfterShowEvent.voidresolveLazyTabSelectEvent(Window window, Component source, Collection<Component> components) Resolves applying settings and presentations for components in a lazy tab e.g.
-
Field Details
-
presentationsManager
-
-
Constructor Details
-
ScreenSettingsFacetResolver
public ScreenSettingsFacetResolver(@Autowired(required=false) PresentationsManager presentationsManager)
-
-
Method Details
-
resolveAfterShowEvent
Resolves applying settings and presentations onScreen.AfterShowEvent.- Parameters:
event- after show event
-
resolveLazyTabSelectEvent
public void resolveLazyTabSelectEvent(Window window, Component source, Collection<Component> components) Resolves applying settings and presentations for components in a lazy tab e.g.TabSheetorAccordion.- Parameters:
window- screen windowsource- component sourcecomponents- tab content
-
getManagedComponents
protected Collection<Component> getManagedComponents(Collection<PresentationsFacet> facets, Collection<Component> lazyTabComponents)
-