Package io.jmix.ui.settings
Interface ScreenSettingsManager
- All Known Implementing Classes:
ScreenSettingsManagerImpl
public interface ScreenSettingsManager
Provides functionality for applying and saving component settings.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyDataLoadingSettings
(Collection<Component> components, ScreenSettings screenSettings) Applies data loading settings for component ifComponentSettingsBinder
is created for it.void
applySettings
(Collection<Component> components, ScreenSettings screenSettings) Applies settings for component ifComponentSettingsBinder
is created for it.void
saveSettings
(Collection<Component> components, ScreenSettings screenSettings) Saves settings and persist if they are changed or screen settings is modified.
-
Method Details
-
applySettings
Applies settings for component ifComponentSettingsBinder
is created for it. SeeTableSettingsBinder
as an example.- Parameters:
components
- components to apply settingsscreenSettings
- screen settings
-
applyDataLoadingSettings
Applies data loading settings for component ifComponentSettingsBinder
is created for it. SeeTableSettingsBinder
as an example.- Parameters:
components
- components to apply settingsscreenSettings
- screen settings
-
saveSettings
Saves settings and persist if they are changed or screen settings is modified.ComponentSettingsBinder
must be created for component. SeeTableSettingsBinder
as an example.- Parameters:
components
- components to save settingsscreenSettings
- screen settings
-