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 TypeMethodDescriptionvoidapplyDataLoadingSettings(Collection<Component> components, ScreenSettings screenSettings) Applies data loading settings for component ifComponentSettingsBinderis created for it.voidapplySettings(Collection<Component> components, ScreenSettings screenSettings) Applies settings for component ifComponentSettingsBinderis created for it.voidsaveSettings(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 ifComponentSettingsBinderis created for it. SeeTableSettingsBinderas an example.- Parameters:
components- components to apply settingsscreenSettings- screen settings
-
applyDataLoadingSettings
Applies data loading settings for component ifComponentSettingsBinderis created for it. SeeTableSettingsBinderas an example.- Parameters:
components- components to apply settingsscreenSettings- screen settings
-
saveSettings
Saves settings and persist if they are changed or screen settings is modified.ComponentSettingsBindermust be created for component. SeeTableSettingsBinderas an example.- Parameters:
components- components to save settingsscreenSettings- screen settings
-