public class InstrumentDescriptor extends SettingDescriptor
Constructor and Description |
---|
InstrumentDescriptor(java.lang.String name,
java.lang.String label)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
createInput(Settings settings,
boolean readOnly)
Creates the component that will accept the user input.
|
getDefaultValue, getGridWidth, getLabel, getName, isAllowUserDefaults, isDisplaySetting, isEnabled, isShowLabel, isSupportsDisable, setAllowUserDefaults, setDefaultValue, setEnabled, setGridWidth, setShowLabel, setSupportsDisable
public InstrumentDescriptor(java.lang.String name, java.lang.String label)
name
- name of this setting (key)label
- label displayed to the userpublic 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