Package io.jmix.uidata.settings
Class ScreenSettingsManagerImpl
java.lang.Object
io.jmix.uidata.settings.ScreenSettingsManagerImpl
- All Implemented Interfaces:
ScreenSettingsManager
-
Field Summary
-
Constructor Summary
-
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.
-
Field Details
-
settingsRegistry
-
-
Constructor Details
-
ScreenSettingsManagerImpl
public ScreenSettingsManagerImpl()
-
-
Method Details
-
applySettings
Description copied from interface:ScreenSettingsManager
Applies settings for component ifComponentSettingsBinder
is created for it. SeeTableSettingsBinder
as an example.- Specified by:
applySettings
in interfaceScreenSettingsManager
- Parameters:
components
- components to apply settingsscreenSettings
- screen settings
-
applyDataLoadingSettings
public void applyDataLoadingSettings(Collection<Component> components, ScreenSettings screenSettings) Description copied from interface:ScreenSettingsManager
Applies data loading settings for component ifComponentSettingsBinder
is created for it. SeeTableSettingsBinder
as an example.- Specified by:
applyDataLoadingSettings
in interfaceScreenSettingsManager
- Parameters:
components
- components to apply settingsscreenSettings
- screen settings
-
saveSettings
Description copied from interface:ScreenSettingsManager
Saves settings and persist if they are changed or screen settings is modified.ComponentSettingsBinder
must be created for component. SeeTableSettingsBinder
as an example.- Specified by:
saveSettings
in interfaceScreenSettingsManager
- Parameters:
components
- components to save settingsscreenSettings
- screen settings
-