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, setSupportsDisable
public 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()
SettingDescriptor
getDefaultValue
in class SettingDescriptor
public javax.swing.JComponent createInput(Settings settings, boolean readOnly)
SettingDescriptor
createInput
in class SettingDescriptor
settings
- settings for the studyreadOnly
- true if the component should not accept user input