Class BarSizeDescriptor
java.lang.Object
com.motivewave.platform.sdk.common.desc.SettingDescriptor<BarSize>
com.motivewave.platform.sdk.common.desc.BarSizeDescriptor
Describes a bar size that is part of the study/strategy.
-
Constructor Summary
ConstructorsConstructorDescriptionBarSizeDescriptor
(String name, String label, BarSize defaultValue) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.Node
createControl
(SettingsBase settings, boolean readOnly) Creates the component that will accept the user input.Gets the default value for this setting.Methods inherited from class com.motivewave.platform.sdk.common.desc.SettingDescriptor
createInput, createInputFX, createTBInput, createTBInput, 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
-
BarSizeDescriptor
-
-
Method Details
-
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<BarSize>
- Parameters:
settings
- settings for the studyreadOnly
- true if the component should not accept user input- Returns:
- component that will accept user input.
-
getDefaultValue
Gets the default value for this setting.- Overrides:
getDefaultValue
in classSettingDescriptor<BarSize>
- Returns:
- default value for the setting
-
fromJson
- Overrides:
fromJson
in classSettingDescriptor<BarSize>
-