Class FileDesc
java.lang.Object
com.motivewave.platform.sdk.common.desc.SettingDescriptor<FileInfo>
com.motivewave.platform.sdk.common.desc.FileDesc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.Node
createControl
(SettingsBase settings, boolean readOnly) Creates the component that will accept the user input.Gets the list of file extensions to filter in the file chooser dialog.Gets the name of the filter to display when showing the file chooser dialog.setExtensions
(List<String> extensions) Sets the list of file extensions to filter in the file chooser dialog.setFilterName
(String filterName) Sets the name of the filter to display when showing the file chooser dialog.Methods inherited from class com.motivewave.platform.sdk.common.desc.SettingDescriptor
createInput, createInputFX, createTBInput, createTBInput, getDefaultValue, getDescription, getGridWidth, getHelpLink, getIconFactory, getId, getLabel, getName, getPostLabel, isAllowUserDefaults, isDisplaySetting, isEnabled, isReadOnly, isShowLabel, isSupportsDisable, setAllowUserDefaults, setDefaultValue, setDescription, setEnabled, setGridWidth, setHelpLink, setIconFactory, setPostLabel, setReadOnly, setShowLabel, setSupportsDisable
-
Constructor Details
-
FileDesc
-
FileDesc
-
-
Method Details
-
getExtensions
-
setExtensions
-
getFilterName
Gets the name of the filter to display when showing the file chooser dialog.- Returns:
- filter name
-
setFilterName
-
createControl
Description copied from class:SettingDescriptor
Creates the component that will accept the user input. This is called by the study framework.- Overrides:
createControl
in classSettingDescriptor<FileInfo>
- Parameters:
settings
- settings for the studyreadOnly
- true if the component should not accept user input- Returns:
- component that will accept user input.
-
fromJson
- Overrides:
fromJson
in classSettingDescriptor<FileInfo>
-