Class ExitPointDescriptor
java.lang.Object
com.motivewave.platform.sdk.common.desc.SettingDescriptor<ExitPoint>
com.motivewave.platform.sdk.common.desc.ExitPointDescriptor
Describes an exit point for a strategy.
-
Constructor Summary
ConstructorsConstructorDescriptionExitPointDescriptor(String name, String label, int pips, int lots, boolean enabled, boolean supportsDisable) Constructor -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.NodecreateControl(SettingsBase settings, boolean readOnly) Creates the component that will accept the user input.Gets the default value for this setting.intgetLots()intgetPips()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
-
ExitPointDescriptor
-
-
Method Details
-
getDefaultValue
Gets the default value for this setting.- Overrides:
getDefaultValuein classSettingDescriptor<ExitPoint>- Returns:
- default value for the setting
-
createControl
Description copied from class:SettingDescriptorCreates the component that will accept the user input. This is called by the study framework.- Overrides:
createControlin classSettingDescriptor<ExitPoint>- Parameters:
settings- settings for the studyreadOnly- true if the component should not accept user input- Returns:
- component that will accept user input.
-
getPips
public int getPips() -
getLots
public int getLots() -
fromJson
- Overrides:
fromJsonin classSettingDescriptor<ExitPoint>
-