public class MAMethodDescriptor extends SettingDescriptor
| Constructor and Description |
|---|
MAMethodDescriptor(java.lang.String name,
java.lang.String label,
Enums.MAMethod defaultValue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
createInput(Settings settings,
boolean readOnly)
Creates the component that will accept the user input.
|
Enums.MAMethod |
getDefaultValue()
Gets the default value for this setting.
|
getGridWidth, getLabel, getName, isAllowUserDefaults, isDisplaySetting, isEnabled, isShowLabel, isSupportsDisable, setAllowUserDefaults, setDefaultValue, setEnabled, setGridWidth, setShowLabel, setSupportsDisablepublic MAMethodDescriptor(java.lang.String name,
java.lang.String label,
Enums.MAMethod defaultValue)
name - name of this setting (key)label - label displayed to the userdefaultValue - default moving average methodpublic Enums.MAMethod getDefaultValue()
SettingDescriptorgetDefaultValue in class SettingDescriptorpublic javax.swing.JComponent createInput(Settings settings, boolean readOnly)
SettingDescriptorcreateInput in class SettingDescriptorsettings - settings for the studyreadOnly - true if the component should not accept user input