Class SplitPanelSettingsBinder
java.lang.Object
io.jmix.ui.settings.component.binder.SplitPanelSettingsBinder
- All Implemented Interfaces:
ComponentSettingsBinder<SplitPanel,
SplitPanelSettings>
@Order(1000)
@Component("ui_SplitPanelSettingsBinder")
public class SplitPanelSettingsBinder
extends Object
implements ComponentSettingsBinder<SplitPanel,SplitPanelSettings>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applySettings
(SplitPanel splitPanel, SettingsWrapper wrapper) Applies settings to the componentprotected com.vaadin.server.Sizeable.Unit
convertLegacyUnit
(int unit) protected SplitPanelSettings
getSettings
(SplitPanel splitPanel) Class<? extends ComponentSettings>
protected com.vaadin.ui.AbstractSplitPanel
getVaadinSplitPanel
(SplitPanel splitPanel) protected boolean
isSettingsChanged
(SplitPanel splitPanel, SplitPanelSettings settings) boolean
saveSettings
(SplitPanel splitPanel, SettingsWrapper wrapper)
-
Constructor Details
-
SplitPanelSettingsBinder
public SplitPanelSettingsBinder()
-
-
Method Details
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentSettingsBinder<SplitPanel,
SplitPanelSettings> - Returns:
- component class, e.g.
TableImpl
-
getSettingsClass
- Specified by:
getSettingsClass
in interfaceComponentSettingsBinder<SplitPanel,
SplitPanelSettings> - Returns:
- component settings class, e.g.
TableSettings
-
applySettings
Description copied from interface:ComponentSettingsBinder
Applies settings to the component- Specified by:
applySettings
in interfaceComponentSettingsBinder<SplitPanel,
SplitPanelSettings> - Parameters:
splitPanel
- componentwrapper
- settings wrapper contains settings for the component
-
saveSettings
- Specified by:
saveSettings
in interfaceComponentSettingsBinder<SplitPanel,
SplitPanelSettings> - Parameters:
splitPanel
- componentwrapper
- settings wrapper contains settings for the component- Returns:
- true if settings were modified
-
getSettings
- Specified by:
getSettings
in interfaceComponentSettingsBinder<SplitPanel,
SplitPanelSettings> - Parameters:
splitPanel
- component- Returns:
- current component settings. It retrieves current property values from component and creates new settings instance.
-
getVaadinSplitPanel
-
isSettingsChanged
-
convertLegacyUnit
protected com.vaadin.server.Sizeable.Unit convertLegacyUnit(int unit) -
createSettings
-