Package io.jmix.flowui.facet.settings
Interface ViewSettingsComponentManager
- All Known Implementing Classes:
- ViewSettingsComponentManagerImpl
public interface ViewSettingsComponentManager
Saves and restores settings for components.
- 
Method SummaryModifier and TypeMethodDescriptionvoidapplyDataLoadingSettings(Collection<com.vaadin.flow.component.Component> components, ViewSettings viewSettings) Applies data loading settings fromViewSettingsto provided components.voidapplySettings(Collection<com.vaadin.flow.component.Component> components, ViewSettings viewSettings) Applies settings fromViewSettingsto provided components.voidsaveSettings(Collection<com.vaadin.flow.component.Component> components, ViewSettings viewSettings) Persists settings if they are changed orViewSettings.isModified()returnstrue.
- 
Method Details- 
applySettingsvoid applySettings(Collection<com.vaadin.flow.component.Component> components, ViewSettings viewSettings) Applies settings fromViewSettingsto provided components.Note, component should have and id and ComponentSettingsBinder. Otherwise, it will be skipped while applying settings. SeeDataGridSettingsBinderas an example.- Parameters:
- components- components to apply settings
- viewSettings-- Viewsettings
 
- 
applyDataLoadingSettingsvoid applyDataLoadingSettings(Collection<com.vaadin.flow.component.Component> components, ViewSettings viewSettings) Applies data loading settings fromViewSettingsto provided components.Note, component should have and id and ComponentSettingsBinder. Otherwise, it will be skipped while applying settings. SeeDataGridSettingsBinderas an example.- Parameters:
- components- components to apply settings
- viewSettings-- Viewsettings
 
- 
saveSettingsvoid saveSettings(Collection<com.vaadin.flow.component.Component> components, ViewSettings viewSettings) Persists settings if they are changed orViewSettings.isModified()returnstrue.Note, component should have and id and ComponentSettingsBinder. Otherwise, it will be skipped while saving settings. SeeDataGridSettingsBinderas an example.- Parameters:
- components- components to save settings
- viewSettings- screen settings
 
 
-