public class ExitPointDescriptor extends SettingDescriptor
Constructor and Description |
---|
ExitPointDescriptor(java.lang.String name,
java.lang.String label,
int pips,
int lots,
boolean enabled,
boolean supportsDisable)
Constructor
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
createInput(Settings settings,
boolean readOnly)
Creates the component that will accept the user input.
|
ExitPoint |
getDefaultValue()
Gets the default value for this setting.
|
int |
getLots() |
int |
getPips() |
getGridWidth, getLabel, getName, isAllowUserDefaults, isDisplaySetting, isEnabled, isShowLabel, isSupportsDisable, setAllowUserDefaults, setDefaultValue, setEnabled, setGridWidth, setShowLabel, setSupportsDisable
public ExitPointDescriptor(java.lang.String name, java.lang.String label, int pips, int lots, boolean enabled, boolean supportsDisable)
name
- label
- pips
- lots
- enabled
- supportsDisable
- public ExitPoint 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 inputpublic int getPips()
public int getLots()