Class GroupTableSettingsBinder
java.lang.Object
io.jmix.ui.settings.component.binder.AbstractTableSettingsBinder
io.jmix.ui.settings.component.binder.GroupTableSettingsBinder
- All Implemented Interfaces:
ComponentSettingsBinder<Table,
,TableSettings> DataLoadingSettingsBinder<Table,
TableSettings>
@Order(1000)
@Component("ui_GroupTableSettingsBinder")
public class GroupTableSettingsBinder
extends AbstractTableSettingsBinder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyColumnSettings
(TableSettings tableSettings, Table table) protected TableSettings
getGroupProperties
(GroupTable groupTable) protected JmixGroupTable
getJmixGroupTable
(GroupTable groupTable) getSettings
(Table component) Class<? extends ComponentSettings>
protected boolean
isGroupTableSettingsChanged
(GroupTable groupTable, GroupTableSettings groupTableSettings) boolean
saveSettings
(Table component, SettingsWrapper wrapper) protected void
setMetadataTools
(MetadataTools metadataTools) Methods inherited from class io.jmix.ui.settings.component.binder.AbstractTableSettingsBinder
applyDataLoadingSettings, applySettings, getEnhancedTable, getTableColumnSettings, getVTable, isApplyDataLoadingSettings, isCommonTableSettingsChanged, isSettingsSortPropertyChanged
-
Field Details
-
metadataTools
-
-
Constructor Details
-
GroupTableSettingsBinder
public GroupTableSettingsBinder()
-
-
Method Details
-
setMetadataTools
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentSettingsBinder<Table,
TableSettings> - Overrides:
getComponentClass
in classAbstractTableSettingsBinder
- Returns:
- component class, e.g.
TableImpl
-
getSettingsClass
- Specified by:
getSettingsClass
in interfaceComponentSettingsBinder<Table,
TableSettings> - Overrides:
getSettingsClass
in classAbstractTableSettingsBinder
- Returns:
- component settings class, e.g.
TableSettings
-
saveSettings
- Specified by:
saveSettings
in interfaceComponentSettingsBinder<Table,
TableSettings> - Overrides:
saveSettings
in classAbstractTableSettingsBinder
- Parameters:
component
- componentwrapper
- settings wrapper contains settings for the component- Returns:
- true if settings were modified
-
getSettings
- Specified by:
getSettings
in interfaceComponentSettingsBinder<Table,
TableSettings> - Overrides:
getSettings
in classAbstractTableSettingsBinder
- Parameters:
component
- component- Returns:
- current component settings. It retrieves current property values from component and creates new settings instance.
-
applyColumnSettings
- Overrides:
applyColumnSettings
in classAbstractTableSettingsBinder
-
isGroupTableSettingsChanged
protected boolean isGroupTableSettingsChanged(GroupTable groupTable, GroupTableSettings groupTableSettings) -
createTableSettings
- Overrides:
createTableSettings
in classAbstractTableSettingsBinder
-
getGroupProperties
-
getJmixGroupTable
-