Package io.jmix.ui.presentation
Interface PresentationsManager
- All Known Implementing Classes:
PresentationsManagerImpl
public interface PresentationsManager
Interface to provide ability to manage lifecycle of component presentations in the screen.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyDefaultPresentation
(Collection<Component> components) Applies default presentation to a component if it exists.void
commitPresentations
(Collection<Component> components) Commits presentation changes.void
setupDefaultSettings
(Collection<Component> components) Sets settings with an initial state to a component.
-
Method Details
-
setupDefaultSettings
Sets settings with an initial state to a component. These settings contains initial state of a component before applying last saved settings or presentation settings.- Parameters:
components
- components to set default settings
-
applyDefaultPresentation
Applies default presentation to a component if it exists.- Parameters:
components
- components to apply default presentation
-
commitPresentations
Commits presentation changes.- Parameters:
components
- components that should commit presentation changes
-