Class PivotTableSettingsBinder
java.lang.Object
io.jmix.pivottableflowui.component.settings.PivotTableSettingsBinder
- All Implemented Interfaces:
ComponentSettingsBinder<PivotTable<?>,PivotTableSettings>
@Component("pvttbl_PivotTableSettingsBinder")
public class PivotTableSettingsBinder
extends Object
implements ComponentSettingsBinder<PivotTable<?>,PivotTableSettings>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplySettings(PivotTable<?> component, PivotTableSettings settings) Applies settings to the component.protected PivotTableSettingsClass<? extends com.vaadin.flow.component.Component>getSettings(PivotTable<?> component) protected booleanlistsNotEqual(List<String> componentProperties, List<String> settingsProperties) protected booleanmapsNotEqual(Map<String, List<String>> componentProperties, Map<String, List<String>> settingsProperties) booleansaveSettings(PivotTable<?> component, PivotTableSettings settings) Invoked when component properties or states should be saved to settings.
-
Constructor Details
-
PivotTableSettingsBinder
public PivotTableSettingsBinder()
-
-
Method Details
-
getComponentClass
- Specified by:
getComponentClassin interfaceComponentSettingsBinder<PivotTable<?>,PivotTableSettings> - Returns:
- component class, e.g.
JmixDetails
-
getSettingsClass
- Specified by:
getSettingsClassin interfaceComponentSettingsBinder<PivotTable<?>,PivotTableSettings> - Returns:
- component settings class, e.g.
JmixDetailsSettings
-
createSettings
-
applySettings
Description copied from interface:ComponentSettingsBinderApplies settings to the component.- Specified by:
applySettingsin interfaceComponentSettingsBinder<PivotTable<?>,PivotTableSettings> - Parameters:
component- componentsettings- settings for the component
-
saveSettings
Description copied from interface:ComponentSettingsBinderInvoked when component properties or states should be saved to settings.- Specified by:
saveSettingsin interfaceComponentSettingsBinder<PivotTable<?>,PivotTableSettings> - Parameters:
component- componentsettings- settings for the component- Returns:
trueif settings were modified
-
listsNotEqual
-
mapsNotEqual
-
getSettings
- Specified by:
getSettingsin interfaceComponentSettingsBinder<PivotTable<?>,PivotTableSettings> - Parameters:
component- component- Returns:
- current component settings. It retrieves current property values from component and creates new settings instance.
-