Class SidePanelLayoutSettingsBinder
java.lang.Object
io.jmix.flowui.facet.settings.component.binder.SidePanelLayoutSettingsBinder
- All Implemented Interfaces:
ComponentSettingsBinder<SidePanelLayout,SidePanelLayoutSettings>
@Order(1000)
@Component("flowui_SidePanelLayoutSettingsBinder")
public class SidePanelLayoutSettingsBinder
extends Object
implements ComponentSettingsBinder<SidePanelLayout,SidePanelLayoutSettings>
Binder that applies and saves
SidePanelLayoutSettings for a SidePanelLayout.
Only active when the panel is resizable; fixed
panels are left untouched by user settings.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplySettings(SidePanelLayout component, SidePanelLayoutSettings settings) Applies settings to the component.protected SidePanelLayoutSettingsClass<? extends com.vaadin.flow.component.Component> getSettings(SidePanelLayout component) booleansaveSettings(SidePanelLayout component, SidePanelLayoutSettings settings) Invoked when component properties or states should be saved to settings.
-
Constructor Details
-
SidePanelLayoutSettingsBinder
public SidePanelLayoutSettingsBinder()
-
-
Method Details
-
getComponentClass
- Specified by:
getComponentClassin interfaceComponentSettingsBinder<SidePanelLayout,SidePanelLayoutSettings> - Returns:
- component class, e.g.
JmixDetails
-
getSettingsClass
- Specified by:
getSettingsClassin interfaceComponentSettingsBinder<SidePanelLayout,SidePanelLayoutSettings> - Returns:
- component settings class, e.g.
JmixDetailsSettings
-
applySettings
Description copied from interface:ComponentSettingsBinderApplies settings to the component.- Specified by:
applySettingsin interfaceComponentSettingsBinder<SidePanelLayout,SidePanelLayoutSettings> - Parameters:
component- componentsettings- settings for the component
-
saveSettings
Description copied from interface:ComponentSettingsBinderInvoked when component properties or states should be saved to settings.- Specified by:
saveSettingsin interfaceComponentSettingsBinder<SidePanelLayout,SidePanelLayoutSettings> - Parameters:
component- componentsettings- settings for the component- Returns:
trueif settings were modified
-
getSettings
- Specified by:
getSettingsin interfaceComponentSettingsBinder<SidePanelLayout,SidePanelLayoutSettings> - Parameters:
component- component- Returns:
- current component settings. It retrieves current property values from component and creates new settings instance.
-
createSettings
-