Interface ComponentSettingsBinder<V extends Component,S extends ComponentSettings>
- All Known Subinterfaces:
DataLoadingSettingsBinder<V,
S>
- All Known Implementing Classes:
AbstractDataGridSettingsBinder
,AbstractPaginationSettingsBinder
,AbstractTableSettingsBinder
,DataGridSettingsBinder
,FilterSettingsBinder
,GroupBoxSettingsBinder
,GroupTableSettingsBinder
,PaginationSettingsBinder
,ResizableTextAreaSettingsBinder
,SimplePaginationSettingsBinder
,SplitPanelSettingsBinder
,TableSettingsBinder
,TreeDataGridSettingsBinder
,TreeTableSettingsBinder
public interface ComponentSettingsBinder<V extends Component,S extends ComponentSettings>
Base interface for component settings registration. As an example see
TableSettingsBinder
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
applySettings
(V component, SettingsWrapper wrapper) Applies settings to the componentgetSettings
(V component) Class<? extends ComponentSettings>
boolean
saveSettings
(V component, SettingsWrapper wrapper)
-
Method Details
-
getComponentClass
- Returns:
- component class, e.g.
TableImpl
-
getSettingsClass
Class<? extends ComponentSettings> getSettingsClass()- Returns:
- component settings class, e.g.
TableSettings
-
applySettings
Applies settings to the component- Parameters:
component
- componentwrapper
- settings wrapper contains settings for the component
-
saveSettings
- Parameters:
component
- componentwrapper
- settings wrapper contains settings for the component- Returns:
- true if settings were modified
-
getSettings
- Parameters:
component
- component- Returns:
- current component settings. It retrieves current property values from component and creates new settings instance.
-