Class GroupBoxSettingsBinder
java.lang.Object
io.jmix.ui.settings.component.binder.GroupBoxSettingsBinder
- All Implemented Interfaces:
ComponentSettingsBinder<GroupBoxLayout,
GroupBoxSettings>
@Order(1000)
@Component("ui_GroupBoxSettingsBinder")
public class GroupBoxSettingsBinder
extends Object
implements ComponentSettingsBinder<GroupBoxLayout,GroupBoxSettings>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applySettings
(GroupBoxLayout groupBox, SettingsWrapper wrapper) Applies settings to the componentprotected GroupBoxSettings
getSettings
(GroupBoxLayout groupBox) Class<? extends ComponentSettings>
boolean
saveSettings
(GroupBoxLayout groupBox, SettingsWrapper wrapper)
-
Constructor Details
-
GroupBoxSettingsBinder
public GroupBoxSettingsBinder()
-
-
Method Details
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentSettingsBinder<GroupBoxLayout,
GroupBoxSettings> - Returns:
- component class, e.g.
TableImpl
-
getSettingsClass
- Specified by:
getSettingsClass
in interfaceComponentSettingsBinder<GroupBoxLayout,
GroupBoxSettings> - Returns:
- component settings class, e.g.
TableSettings
-
applySettings
Description copied from interface:ComponentSettingsBinder
Applies settings to the component- Specified by:
applySettings
in interfaceComponentSettingsBinder<GroupBoxLayout,
GroupBoxSettings> - Parameters:
groupBox
- componentwrapper
- settings wrapper contains settings for the component
-
saveSettings
- Specified by:
saveSettings
in interfaceComponentSettingsBinder<GroupBoxLayout,
GroupBoxSettings> - Parameters:
groupBox
- componentwrapper
- settings wrapper contains settings for the component- Returns:
- true if settings were modified
-
getSettings
- Specified by:
getSettings
in interfaceComponentSettingsBinder<GroupBoxLayout,
GroupBoxSettings> - Parameters:
groupBox
- component- Returns:
- current component settings. It retrieves current property values from component and creates new settings instance.
-
createSettings
-