Class SettingsDescriptor
java.lang.Object
com.motivewave.platform.sdk.common.desc.SettingsDescriptor
Contains all of the SettingDescriptor instances that describe the user 
    configurable settings for the study.  These settings are organized into
    tabs to be displayed in the Study Dialog.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a dependency between 2 or more SettingDescriptorsvoidaddDisplaySettings(String... ids) voidaddInvisible(SettingDescriptor... sds) voidAdds a setting that is not part of the UI.voidaddQuickSettings(SettingDescriptor... sds) Adds a setting that can be displayed in a tool bar or in the Quick Editor.voidaddQuickSettings(String... ids) Retrieves the setting (if it exists) and adds it as a quick setting.voidaddStrategySetting(SettingDescriptor setting) Adds a setting used to configure the strategy.voidaddTab(SettingTab tab) Adds a SettingTab.Convenience Method.Convenience Method.voidclear()getDefaultValue(String name) Gets the default value for the setting associated with the given name.Gets the list of setting dependencies.getOnQSUpdated(String id) getSetting(String id) Gets all of the SettingDescriptor associated with the given name.Gets all of the SettingDescriptor instances declared for this studyGets the list of settings that are used to configure the strategy.getTabs()Gets the tabs (as displayed in the Study Dialog).voidIndicates that the Quick Settings with the given ids should be aligned on the same row (when displaying the Quick Editor)voidsetOnQSUpdated(String id, SettingsDescriptor.OnUpdated onUpdated) voidsetStrategySettings(List<SettingDescriptor> settings) Sets the settings used to configure the strategy.
- 
Constructor Details- 
SettingsDescriptorpublic SettingsDescriptor()
 
- 
- 
Method Details- 
clearpublic void clear()
- 
getSettingsGets all of the SettingDescriptor instances declared for this study
- 
getSettingGets all of the SettingDescriptor associated with the given name.
- 
getDefaultValue
- 
getTabsGets the tabs (as displayed in the Study Dialog).
- 
addTabAdds a SettingTab.
- 
addTabConvenience Method. Creates a SettingTab with the given name and adds it to the the list of tabs.- Parameters:
- tabName- name of the tab
- Returns:
- setting tab that was created
 
- 
addTabConvenience Method. Creates a SettingTab with the given name and adds it to the the list of tabs.- Parameters:
- tabName- name of the tab
- header- header that is displayed at the top of the tab
- Returns:
- setting tab that was created
 
- 
addDependencyAdds a dependency between 2 or more SettingDescriptors
- 
getDependenciesGets the list of setting dependencies.
- 
getDependencies
- 
addInvisibleSettingAdds a setting that is not part of the UI. Effectively, these settings are not visible to the user.
- 
addInvisible
- 
addQuickSettingsRetrieves the setting (if it exists) and adds it as a quick setting.
- 
addQuickSettingsAdds a setting that can be displayed in a tool bar or in the Quick Editor.
- 
getQuickSettings
- 
setOnQSUpdated
- 
getOnQSUpdated
- 
addDisplaySettings
- 
getDisplaySettings
- 
rowAlignIndicates that the Quick Settings with the given ids should be aligned on the same row (when displaying the Quick Editor)
- 
getRowAligns
- 
getStrategySettingsGets the list of settings that are used to configure the strategy. These are used as part of the Back Test and Optimize features. By default this will return non display descriptors.
- 
setStrategySettingsSets the settings used to configure the strategy. These are used by the back test/optimize/walk forward features.
- 
addStrategySettingAdds a setting used to configure the strategy. These are used by the back test/optimize/walk forward features.
 
-