Class JmixDetailsSettingsBinder
java.lang.Object
io.jmix.flowui.facet.settings.component.binder.JmixDetailsSettingsBinder
- All Implemented Interfaces:
ComponentSettingsBinder<JmixDetails,
JmixDetailsSettings>
@Order(1000)
@Component("flowui_JmixDetailsSettingsBinder")
public class JmixDetailsSettingsBinder
extends Object
implements ComponentSettingsBinder<JmixDetails,JmixDetailsSettings>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applySettings
(JmixDetails component, JmixDetailsSettings settings) Applies settings to the component.protected JmixDetailsSettings
Class<? extends com.vaadin.flow.component.Component>
getSettings
(JmixDetails component) boolean
saveSettings
(JmixDetails component, JmixDetailsSettings settings) Invoked when component properties or states should be saved to settings.
-
Constructor Details
-
JmixDetailsSettingsBinder
public JmixDetailsSettingsBinder()
-
-
Method Details
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentSettingsBinder<JmixDetails,
JmixDetailsSettings> - Returns:
- component class, e.g.
JmixDetails
-
getSettingsClass
- Specified by:
getSettingsClass
in interfaceComponentSettingsBinder<JmixDetails,
JmixDetailsSettings> - Returns:
- component settings class, e.g.
JmixDetailsSettings
-
applySettings
Description copied from interface:ComponentSettingsBinder
Applies settings to the component.- Specified by:
applySettings
in interfaceComponentSettingsBinder<JmixDetails,
JmixDetailsSettings> - Parameters:
component
- componentsettings
- settings for the component
-
saveSettings
Description copied from interface:ComponentSettingsBinder
Invoked when component properties or states should be saved to settings.- Specified by:
saveSettings
in interfaceComponentSettingsBinder<JmixDetails,
JmixDetailsSettings> - Parameters:
component
- componentsettings
- settings for the component- Returns:
true
if settings were modified
-
getSettings
- Specified by:
getSettings
in interfaceComponentSettingsBinder<JmixDetails,
JmixDetailsSettings> - Parameters:
component
- component- Returns:
- current component settings. It retrieves current property values from component and creates new settings instance.
-
createSettings
-