public class BarSizeDescriptor extends SettingDescriptor
| Constructor and Description |
|---|
BarSizeDescriptor(java.lang.String name,
java.lang.String label,
BarSize 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.
|
BarSize |
getDefaultValue()
Gets the default value as a bar size.
|
getGridWidth, getLabel, getName, isAllowUserDefaults, isDisplaySetting, isEnabled, isShowLabel, isSupportsDisable, setAllowUserDefaults, setDefaultValue, setEnabled, setGridWidth, setShowLabel, setSupportsDisablepublic BarSizeDescriptor(java.lang.String name,
java.lang.String label,
BarSize defaultValue)
name - name of this setting (key)label - label displayed to the userdefaultValue - default bar sizepublic BarSize getDefaultValue()
getDefaultValue 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