public abstract class AbstractTableSettingsBinder extends java.lang.Object implements DataLoadingSettingsBinder<Table,TableSettings>
Constructor and Description |
---|
AbstractTableSettingsBinder() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyColumnSettings(TableSettings tableSettings,
Table table) |
void |
applyDataLoadingSettings(Table table,
SettingsWrapper wrapper)
Applies data loading settings.
|
void |
applySettings(Table table,
SettingsWrapper wrapper)
Applies settings to the component
|
protected TableSettings |
createTableSettings() |
java.lang.Class<? extends Component> |
getComponentClass() |
protected JmixEnhancedTable |
getEnhancedTable(Table table) |
TableSettings |
getSettings(Table table) |
java.lang.Class<? extends ComponentSettings> |
getSettingsClass() |
protected java.util.List<TableSettings.ColumnSettings> |
getTableColumnSettings(Table table) |
protected com.vaadin.v7.ui.Table |
getVTable(Table table) |
protected boolean |
isApplyDataLoadingSettings(Table table) |
protected boolean |
isCommonTableSettingsChanged(TableSettings tableSettings,
Table table) |
protected boolean |
isSettingsSortPropertyChanged(java.lang.String settingsSortProperty,
java.lang.Boolean settingsSortAscending,
Table.SortInfo sortInfo) |
boolean |
saveSettings(Table table,
SettingsWrapper wrapper) |
public java.lang.Class<? extends Component> getComponentClass()
getComponentClass
in interface ComponentSettingsBinder<Table,TableSettings>
TableImpl
public java.lang.Class<? extends ComponentSettings> getSettingsClass()
getSettingsClass
in interface ComponentSettingsBinder<Table,TableSettings>
TableSettings
public void applySettings(Table table, SettingsWrapper wrapper)
ComponentSettingsBinder
applySettings
in interface ComponentSettingsBinder<Table,TableSettings>
table
- componentwrapper
- settings wrapper contains settings for the componentpublic void applyDataLoadingSettings(Table table, SettingsWrapper wrapper)
DataLoadingSettingsBinder
applyDataLoadingSettings
in interface DataLoadingSettingsBinder<Table,TableSettings>
table
- component to applywrapper
- settings wrapperpublic boolean saveSettings(Table table, SettingsWrapper wrapper)
saveSettings
in interface ComponentSettingsBinder<Table,TableSettings>
table
- componentwrapper
- settings wrapper contains settings for the componentpublic TableSettings getSettings(Table table)
getSettings
in interface ComponentSettingsBinder<Table,TableSettings>
table
- componentprotected TableSettings createTableSettings()
protected java.util.List<TableSettings.ColumnSettings> getTableColumnSettings(Table table)
protected boolean isCommonTableSettingsChanged(TableSettings tableSettings, Table table)
protected boolean isSettingsSortPropertyChanged(@Nullable java.lang.String settingsSortProperty, @Nullable java.lang.Boolean settingsSortAscending, @Nullable Table.SortInfo sortInfo)
protected void applyColumnSettings(TableSettings tableSettings, Table table)
protected boolean isApplyDataLoadingSettings(Table table)
protected JmixEnhancedTable getEnhancedTable(Table table)
protected com.vaadin.v7.ui.Table getVTable(Table table)