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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applySettings
(PivotTable component, PivotTableSettings settings) Applies settings to the component.protected PivotTableSettings
Class<? extends com.vaadin.flow.component.Component>
getSettings
(PivotTable component) protected boolean
listsEqual
(List<String> componentProperties, List<String> settingsProperties) protected boolean
mapsEqual
(Map<String, List<String>> componentProperties, Map<String, List<String>> settingsProperties) boolean
saveSettings
(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:
getComponentClass
in interfaceComponentSettingsBinder<PivotTable,
PivotTableSettings> - Returns:
- component class, e.g.
JmixDetails
-
getSettingsClass
- Specified by:
getSettingsClass
in interfaceComponentSettingsBinder<PivotTable,
PivotTableSettings> - Returns:
- component settings class, e.g.
JmixDetailsSettings
-
createSettings
-
applySettings
Description copied from interface:ComponentSettingsBinder
Applies settings to the component.- Specified by:
applySettings
in interfaceComponentSettingsBinder<PivotTable,
PivotTableSettings> - Parameters:
component
- componentsettings
- settings for the component
-
saveSettings
Description copied from interface:ComponentSettingsBinder
Invoked when component properties or states should be saved to settings.- Specified by:
saveSettings
in interfaceComponentSettingsBinder<PivotTable,
PivotTableSettings> - Parameters:
component
- componentsettings
- settings for the component- Returns:
true
if settings were modified
-
listsEqual
-
mapsEqual
-
getSettings
- Specified by:
getSettings
in interfaceComponentSettingsBinder<PivotTable,
PivotTableSettings> - Parameters:
component
- component- Returns:
- current component settings. It retrieves current property values from component and creates new settings instance.
-