Interface ViewSettingsComponentManager
- All Superinterfaces:
ComponentSettingsManager
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplyDataLoadingSettings(Collection<com.vaadin.flow.component.Component> components, UiComponentSettings<?> settings) Deprecated, for removal: This API element is subject to removal in a future version.Applies data loading settings fromUiComponentSettingsto provided components.voidapplyDataLoadingSettings(Collection<com.vaadin.flow.component.Component> components, ViewSettings viewSettings) Deprecated, for removal: This API element is subject to removal in a future version.Applies data loading settings fromViewSettingsto provided components.default voidapplySettings(Collection<com.vaadin.flow.component.Component> components, UiComponentSettings<?> settings) Deprecated, for removal: This API element is subject to removal in a future version.Applies settings fromUiComponentSettingsto provided components.voidapplySettings(Collection<com.vaadin.flow.component.Component> components, ViewSettings viewSettings) Deprecated, for removal: This API element is subject to removal in a future version.Applies settings fromViewSettingsto provided components.default voidsaveSettings(Collection<com.vaadin.flow.component.Component> components, UiComponentSettings<?> settings) Deprecated, for removal: This API element is subject to removal in a future version.Persists settings if they are changed orUiComponentSettings.isModified()returnstrue.voidsaveSettings(Collection<com.vaadin.flow.component.Component> components, ViewSettings viewSettings) Deprecated, for removal: This API element is subject to removal in a future version.Persists settings if they are changed orUiComponentSettings.isModified()returnstrue.
-
Method Details
-
applySettings
void applySettings(Collection<com.vaadin.flow.component.Component> components, ViewSettings viewSettings) Deprecated, for removal: This API element is subject to removal in a future version.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 settingsviewSettings-Viewsettings
-
applySettings
default void applySettings(Collection<com.vaadin.flow.component.Component> components, UiComponentSettings<?> settings) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ComponentSettingsManagerApplies settings fromUiComponentSettingsto provided components.Note, component should have and id and
ComponentSettingsBinder. Otherwise, it will be skipped while applying settings. SeeDataGridSettingsBinderas an example.- Specified by:
applySettingsin interfaceComponentSettingsManager- Parameters:
components- components to apply settingssettings-UiComponentSettings
-
applyDataLoadingSettings
void applyDataLoadingSettings(Collection<com.vaadin.flow.component.Component> components, ViewSettings viewSettings) Deprecated, for removal: This API element is subject to removal in a future version.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 settingsviewSettings-Viewsettings
-
applyDataLoadingSettings
default void applyDataLoadingSettings(Collection<com.vaadin.flow.component.Component> components, UiComponentSettings<?> settings) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ComponentSettingsManagerApplies data loading settings fromUiComponentSettingsto provided components.Note, component should have and id and
ComponentSettingsBinder. Otherwise, it will be skipped while applying settings. SeeDataGridSettingsBinderas an example.- Specified by:
applyDataLoadingSettingsin interfaceComponentSettingsManager- Parameters:
components- components to apply settingssettings-UiComponentSettings
-
saveSettings
void saveSettings(Collection<com.vaadin.flow.component.Component> components, ViewSettings viewSettings) Deprecated, for removal: This API element is subject to removal in a future version.Persists settings if they are changed orUiComponentSettings.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 settingsviewSettings- screen settings
-
saveSettings
default void saveSettings(Collection<com.vaadin.flow.component.Component> components, UiComponentSettings<?> settings) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ComponentSettingsManagerPersists settings if they are changed orUiComponentSettings.isModified()returnstrue.Note, component should have and id and
ComponentSettingsBinder. Otherwise, it will be skipped while saving settings. SeeDataGridSettingsBinderas an example.- Specified by:
saveSettingsin interfaceComponentSettingsManager- Parameters:
components- components to save settingssettings-UiComponentSettings
-
ComponentSettingsManagerinstead