public class ScreenSettingsManagerImpl extends java.lang.Object implements ScreenSettingsManager
| Modifier and Type | Field and Description |
|---|---|
protected ComponentSettingsRegistry |
settingsRegistry |
| Constructor and Description |
|---|
ScreenSettingsManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyDataLoadingSettings(java.util.Collection<Component> components,
ScreenSettings screenSettings)
Applies data loading settings for component if
ComponentSettingsBinder is created for it. |
void |
applySettings(java.util.Collection<Component> components,
ScreenSettings screenSettings)
Applies settings for component if
ComponentSettingsBinder is created for it. |
void |
saveSettings(java.util.Collection<Component> components,
ScreenSettings screenSettings)
Saves settings and persist if they are changed or screen settings is modified.
|
@Autowired protected ComponentSettingsRegistry settingsRegistry
public void applySettings(java.util.Collection<Component> components, ScreenSettings screenSettings)
ScreenSettingsManagerComponentSettingsBinder is created for it. See
TableSettingsBinder as an example.applySettings in interface ScreenSettingsManagercomponents - components to apply settingsscreenSettings - screen settingspublic void applyDataLoadingSettings(java.util.Collection<Component> components, ScreenSettings screenSettings)
ScreenSettingsManagerComponentSettingsBinder is created for it. See
TableSettingsBinder as an example.applyDataLoadingSettings in interface ScreenSettingsManagercomponents - components to apply settingsscreenSettings - screen settingspublic void saveSettings(java.util.Collection<Component> components, ScreenSettings screenSettings)
ScreenSettingsManagerComponentSettingsBinder
must be created for component. See TableSettingsBinder as an example.saveSettings in interface ScreenSettingsManagercomponents - components to save settingsscreenSettings - screen settings