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