Class BarSizeDesc
java.lang.Object
com.motivewave.platform.sdk.common.desc.SettingDescriptor<BarSizeInfo>
com.motivewave.platform.sdk.common.desc.BarSizeDesc
Describes a bar size that is part of the study/strategy.
-
Constructor Summary
ConstructorsConstructorDescriptionBarSizeDesc
(String name, String label, BarSizeInfo defaultValue) Constructor.BarSizeDesc
(String name, String label, BarSizeInfo defaultValue, boolean supportsDisable) -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.Node
createControl
(SettingsBase settings, boolean readOnly) Creates the component that will accept the user input.boolean
setAdvanced
(boolean b) 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
-
BarSizeDesc
Constructor.- Parameters:
name
- name of this setting (key)label
- label displayed to the userdefaultValue
- default bar size
-
BarSizeDesc
-
-
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<BarSizeInfo>
- 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<BarSizeInfo>
-
setAdvanced
-
isAdvanced
public boolean isAdvanced()
-